Created
July 16, 2013 17:14
-
-
Save benjamincharity/6010655 to your computer and use it in GitHub Desktop.
List Prefix'
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
/** | |
* List Prefix' | |
*/ | |
html { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
font-family: Helvetica Neue; | |
font-weight: 100; | |
letter-spacing: .1em; | |
line-height: 1.4em; | |
min-height: 100%; | |
} | |
ol { | |
counter-reset: myCounter; /* Counter Code */ | |
display: block; | |
margin: 10% auto; | |
width: 250px; | |
} | |
li { | |
color: white; | |
list-style-type: none; | |
counter-increment: myCounter; /* Counter Code */ | |
} | |
li:before { | |
color: white; | |
content: "("counter(myCounter)")"; /* Counter Code */ | |
margin-right: .4em; | |
} |
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
<ol> | |
<li>Thingamajig 1</li> | |
<li>Thingaling 2</li> | |
<li>Thingamabob 3</li> | |
</ol> |
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