Last active
May 11, 2017 20:11
-
-
Save ntassone/8675003 to your computer and use it in GitHub Desktop.
A more flexible order list with a counter.
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
ol { | |
list-style: none; | |
counter-reset: li; | |
li { | |
counter-increment: li; | |
&:before { | |
content: counter(li) '.'; | |
//Decimal follows count | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment