Created
August 13, 2012 17:16
-
-
Save benknight/3342564 to your computer and use it in GitHub Desktop.
Scroped CSS
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
/** | |
* Scroped CSS | |
* Just checking this out since I enabled it in chrome://flags | |
*/ | |
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> | |
<style scoped> | |
p { height: 100px; background: red; } | |
</style> | |
<p>Cool!!</p> | |
</div> | |
<div> | |
<p>Hey guyz can I play too?</p> | |
</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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment