Created
December 16, 2014 15:00
-
-
Save bdunnette/e1942066e3b718c99e7b to your computer and use it in GitHub Desktop.
CSS to add case numbering to ordered lists
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 {counter-reset: item; list-style-type: none;} | |
ol li:before {font-weight: bold; content: 'Case ' counter(item, decimal) ': '; counter-increment: item;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment