Created
September 15, 2016 10:01
-
-
Save kolyasademetrio/9df292d8eb5c5183d45209a83a2489af to your computer and use it in GitHub Desktop.
LESS: .clearfix()
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, | |
&:after { | |
content: ""; | |
display: table; | |
} | |
&:after { | |
clear: both; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment