Created
September 25, 2012 04:59
-
-
Save apnerve/3780080 to your computer and use it in GitHub Desktop.
Cascade in action! : Frontend Workshop
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
/** | |
* Cascade in action! : Frontend Workshop | |
*/ | |
body { | |
color: #000; | |
background-color: #fff; | |
} | |
#wrap { | |
font-size: 2em; | |
color: #333; | |
} | |
div { | |
font-size: 1em; | |
} | |
em { | |
color: #666; | |
} | |
p.item { | |
color: #fff; | |
background-color: #ccc; | |
border-style: dashed; | |
} | |
p { | |
border: 1px solid black; | |
padding: 0.5em; | |
} |
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 id="wrap"> | |
<p class="item"> | |
This is the <em>cascade</em> in | |
<a href="#">action</a> | |
</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":"separate","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