Created
September 11, 2012 08:46
-
-
Save wrumsby/3696990 to your computer and use it in GitHub Desktop.
Untitled
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 { | |
background-color: #fff; | |
color: #333; | |
font-family: sans-serif; | |
font-size: 20px; | |
line-height: 1.6em; | |
} | |
.example { | |
border: 3px solid orange; | |
padding: 4px 20px; | |
} | |
.example-1 { | |
} | |
.example-1:before { | |
content: '"'; | |
} | |
.example-1:after { | |
content: '"'; | |
} | |
.example-2:before { | |
content: '('; | |
} | |
.example-2:after { | |
content: ')'; | |
} | |
.example-3 { | |
position: relative; | |
} | |
.example-3:before, | |
.example-3:after { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
width: 16px; | |
content: ''; | |
} | |
.example-3:before { | |
left: 0px; | |
background-color: blue; | |
} | |
.example-3:after { | |
right: 0px; | |
background-color: red; | |
} |
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
<p> | |
<span class="example example-1">For instance</span> | |
</p> | |
<p> | |
8:05 pm <span class="example example-2">15 mins ago</span> | |
</p> | |
<p> | |
<span class="example example-3">position: relative;</span> | |
</p> | |
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-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment