Created
May 20, 2013 13:53
-
-
Save anonymous/5612368 to your computer and use it in GitHub Desktop.
block
This file contains hidden or 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
| body {font-size: 100%} | |
| /* block */ | |
| #q #w {font-size: 2em} | |
| #w {font-size: 2em} | |
| /* 1st pseudo */ | |
| #w:before{ | |
| display: block; | |
| content: 'Example text. (pseudo)'; | |
| font-size: 2em; | |
| } | |
| /* 2nd pseudo */ | |
| #w:after { | |
| display: block; | |
| content: 'Example text.'; | |
| font-size: 2em; | |
| } | |
| /* more specific the same pseudo */ | |
| #q #w:after {font-size: 2em} |
This file contains hidden or 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='q'> | |
| Example text.(body) | |
| <div id='w'>Example text.(inside)</div> | |
| </div> |
This file contains hidden or 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
| // alert('Hello world!'); |
This file contains hidden or 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