Created
October 1, 2015 06:58
-
-
Save Takaya213/dc902171a13316a1ea1c to your computer and use it in GitHub Desktop.
Clearfix with Sass
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
@mixin clearfix { | |
&:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
} | |
.wrap { | |
@include clearfix; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment