Created
January 31, 2009 17:16
-
-
Save Peeja/55599 to your computer and use it in GitHub Desktop.
clearfix as a Sass mixin (saved for future reference)
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
# From http://wonderfullyflawed.com/2008/05/21/clearfix-as-mixin/ | |
=clearfix | |
*display: inline-block | |
&:after | |
content: " " | |
display: block | |
height: 0 | |
clear: both | |
visibility: hidden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment