Last active
June 20, 2020 23:12
-
-
Save oscarryz/ace487a253cc0ac9fb35e16a86904edb 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
/* full component */ | |
.button { | |
color: red; | |
font-family: sans-serif; | |
..etc. etc. | |
} | |
/* or utilities */ | |
.red { | |
color: red; | |
} | |
.sans { | |
font-family: sans-serif; | |
} | |
/* more utiliies here */ | |
... Example using both | |
<div class="button">Warning</div> | |
vs | |
<div class="red sans shadow medium-size">Warning</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment