Skip to content

Instantly share code, notes, and snippets.

@glepur
Created December 9, 2013 13:43
Show Gist options
  • Select an option

  • Save glepur/7872420 to your computer and use it in GitHub Desktop.

Select an option

Save glepur/7872420 to your computer and use it in GitHub Desktop.
Best way to clear:both in css
.clear:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment