Created
April 30, 2014 21:01
-
-
Save jamesstacyjones/0988723ac1e13231cffc to your computer and use it in GitHub Desktop.
clearfix : let my float go
This file contains 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
.clearfix:before, | |
.clearfix:after { | |
content: ""; | |
display: table; | |
} | |
.clearfix:after { | |
clear: both; | |
} | |
.clearfix { | |
zoom: 1; /* ie 6/7 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment