Created
January 18, 2015 05:11
-
-
Save mobywhale-chan/f0cc7b59644cd3d80411 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="box"> | |
Box | |
</div> | |
<div class="box-plain"> | |
Box plain | |
</div> | |
<div class="box-fancy"> | |
Box fancy | |
</div> |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin clearfix() { | |
&:before, | |
&:after { | |
content: ""; | |
display: table; | |
} | |
&:after { | |
clear: both; | |
} | |
} | |
.row { | |
@include clearfix; | |
} | |
.nav { | |
@include 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
.row:before, .row:after { | |
content: ""; | |
display: table; | |
} | |
.row:after { | |
clear: both; | |
} | |
.nav:before, .nav:after { | |
content: ""; | |
display: table; | |
} | |
.nav:after { | |
clear: both; | |
} |
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
<div class="box"> | |
Box | |
</div> | |
<div class="box-plain"> | |
Box plain | |
</div> | |
<div class="box-fancy"> | |
Box fancy | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment