Created
June 29, 2015 00:21
-
-
Save jessehouchins/0260b5536a0f54e77f9f to your computer and use it in GitHub Desktop.
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 my-component { | |
all: initial; | |
* { all: unset; } | |
} | |
@mixin my-box { | |
@include my-component; | |
display: inline-block; | |
background: white; | |
border: 1px solid black; | |
padding: 10px; | |
} | |
.my-small-box { | |
@include my-box; | |
width: 100px; | |
height: 100px; | |
} | |
.my-large-box { | |
@include my-box; | |
width: 200px; | |
height: 200px; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment