Created
October 29, 2018 09:44
-
-
Save TimeBandit/7618dc4c24d5500d99013c15cbecab29 to your computer and use it in GitHub Desktop.
clearfix hack for floats #css
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
/* floating collapses the containg div to height:0 this hack fixes that*/ | |
.clearfix::after { | |
content: ""; | |
clear: both; | |
display: table; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment