Skip to content

Instantly share code, notes, and snippets.

@chriswrightdesign
Created October 29, 2013 09:58
Show Gist options
  • Save chriswrightdesign/7211803 to your computer and use it in GitHub Desktop.
Save chriswrightdesign/7211803 to your computer and use it in GitHub Desktop.
Self clearing element (clears all children)
.element:after {
content: "";
display: table;
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment