Created
September 14, 2013 07:06
-
-
Save vjik/6559534 to your computer and use it in GitHub Desktop.
Clearfix modern browsers and IE8+
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 | |
.clearfix() { | |
&:after { content: "."; display: block; height: 0; font-size: 0; line-height: 0; clear: both; visibility: hidden; } | |
} | |
.clearfix { .clearfix(); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment