Last active
December 16, 2015 22:18
-
-
Save WillsonSmith/5505523 to your computer and use it in GitHub Desktop.
Small, effective way to clear floats in css
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
/* Apply the class "group" to your container element ie8+*/ | |
.group:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment