Created
December 8, 2015 10:18
-
-
Save csswizardry/8fbbf3a36ce72c4ab0c9 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="promo"> | |
Lorem ipsum dolor sit amet | |
</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.14) | |
// Compass (v1.0.3) | |
// ---- | |
.box { | |
display: block; | |
padding: 10px; | |
} | |
.promo { | |
@extend .box; | |
background: red; | |
color: white; | |
} | |
.aside { | |
@extend .box; | |
font-style: italic; | |
} | |
.footer .box { | |
font-size: 75%; | |
} | |
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
.box, .promo, .aside { | |
display: block; | |
padding: 10px; | |
} | |
.promo { | |
background: red; | |
color: white; | |
} | |
.aside { | |
font-style: italic; | |
} | |
.footer .box, .footer .promo, .footer .aside { | |
font-size: 75%; | |
} |
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="promo"> | |
Lorem ipsum dolor sit amet | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment