Created
November 29, 2016 16:10
-
-
Save Rich-Harris/34a038757e4d36140fe450d61da6b564 to your computer and use it in GitHub Desktop.
Scoped styles
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='foo'> | |
Big red Comic Sans | |
</div> | |
<style> | |
.foo { | |
color: red; | |
font-size: 2em; | |
font-family: 'Comic Sans MS'; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment