Skip to content

Instantly share code, notes, and snippets.

@ntassone
Last active May 11, 2017 20:11
Show Gist options
  • Save ntassone/8675003 to your computer and use it in GitHub Desktop.
Save ntassone/8675003 to your computer and use it in GitHub Desktop.
A more flexible order list with a counter.
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