Created
December 14, 2017 16:51
-
-
Save xiaohutai/9cd36098e61b4c8fe981de6388ee8db6 to your computer and use it in GitHub Desktop.
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
| li:nth-child(3n)::before { content: 'fizz'; } | |
| li:nth-child(5n)::before { content: 'buzz'; } | |
| li:nth-child(3n):nth-child(5n)::before { content: 'fizz-buzz'; } | |
| li { counter-increment: myCounter; } | |
| li::before { content: counter(myCounter); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment