Skip to content

Instantly share code, notes, and snippets.

@kristof
Created February 15, 2012 18:04
Show Gist options
  • Save kristof/1837825 to your computer and use it in GitHub Desktop.
Save kristof/1837825 to your computer and use it in GitHub Desktop.
Clearfix less
.clearfix{
zoom: 1;
&:before,
&:after {
display: table;
content: "\0020";
zoom: 1;
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment