Skip to content

Instantly share code, notes, and snippets.

@ryanve
Last active February 16, 2017 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanve/5766d6799da436546bfc552d86021bf9 to your computer and use it in GitHub Desktop.
Save ryanve/5766d6799da436546bfc552d86021bf9 to your computer and use it in GitHub Desktop.
CSS counter BEM module
.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