Created
April 2, 2014 08:31
-
-
Save benhuson/9930186 to your computer and use it in GitHub Desktop.
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
/* Nested Ordered List */ | |
ol { | |
counter-reset: ol | |
} | |
li { | |
display: block | |
} | |
li:before { | |
content: counters(ol, ".") " "; | |
counter-increment: ol | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment