Skip to content

Instantly share code, notes, and snippets.

@rutger1140
Created April 27, 2012 11:46
Show Gist options
  • Save rutger1140/2508600 to your computer and use it in GitHub Desktop.
Save rutger1140/2508600 to your computer and use it in GitHub Desktop.
Micro clearfix in LESS
/* Micro clearfix - lrdk.nl/ck */
.cf {
zoom: 1;
&:before,
&:after {
content: "";
display: table;
}
&:after {
clear: both;
}
}
@rutger1140
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment