Last active
February 16, 2017 06:43
-
-
Save ryanve/5766d6799da436546bfc552d86021bf9 to your computer and use it in GitHub Desktop.
CSS counter BEM module
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
.counter__reset { | |
counter-reset: module; | |
} | |
.counter__increment { | |
counter-increment: module; | |
} | |
.counter__before::before, | |
.counter__after::after { | |
content: counter(module); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment