Skip to content

Instantly share code, notes, and snippets.

@ElmahdiMahmoud
Created April 4, 2014 13:29
Show Gist options
  • Save ElmahdiMahmoud/9974753 to your computer and use it in GitHub Desktop.
Save ElmahdiMahmoud/9974753 to your computer and use it in GitHub Desktop.
Ordered List CSS Styles
ol.mylist {
list-style-type: none;
counter-reset: ol-counter;
}
ol.mylist > li:before {
content: counter(ol-counter);
counter-increment: ol-counter;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment