Last active
August 29, 2015 14:06
-
-
Save nathancarnes/15c1aea1e97f153c83e0 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"> | |
foo | |
</div> | |
<div class="panel"> | |
hai | |
</div> | |
<div class="widget"> | |
lolz | |
</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.3) | |
// Compass (v1.0.1) | |
// ---- | |
.box{ | |
margin: 20px; | |
padding: 20px; | |
max-width: 500px; | |
} | |
%bordered{ | |
border: 1px solid #ccc; | |
border-radius: 5px; | |
} | |
%shadowed{ | |
box-shadow: 0 3px 4px #ccc; | |
} | |
%i-wont-be-output-unless-im-used{ | |
} | |
.panel{ | |
@extend .box, %bordered, %shadowed; | |
} | |
.widget{ | |
@extend .box, %shadowed; | |
} |
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, .panel, .widget { | |
margin: 20px; | |
padding: 20px; | |
max-width: 500px; | |
} | |
.panel { | |
border: 1px solid #ccc; | |
border-radius: 5px; | |
} | |
.panel, .widget { | |
box-shadow: 0 3px 4px #ccc; | |
} |
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"> | |
foo | |
</div> | |
<div class="panel"> | |
hai | |
</div> | |
<div class="widget"> | |
lolz | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment