Created
May 1, 2012 18:17
-
-
Save kaimallea/2570214 to your computer and use it in GitHub Desktop.
Clearfix -- when used on the parent, the children will be self-cleared
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.group:before, | |
.group:after { | |
content: ""; | |
display: table; | |
} | |
.group:after { | |
clear: both; | |
} | |
.group { | |
zoom: 1; /* IE6&7 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment