CodePen

Loading ..................

Collapsing Module Padidng

Description

Relates to discussion at

http://css-tricks.com/spacing-the-bottom-of-modules/

Uses collapsing margins to ensure you don't have to cancel the margin on the last element in a module which is padded.

Tags

  1. collapse
  2. margins
  3. module

Comments

Leave a Comment Markdown supported. Double-click names to add to comment.

You must be logged in to comment.
  • 541 Views
  • 1 Comment
  • 4 Hearts
Loading...
Loading...