Managing vertical margins in CSS

Dave Smyth / filed under HTML & CSS

Achieving consistent vertical space between elements with CSS can be hard. Margins are usually to blame – or at least they should be – how can we make them more manageable?

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency