Skip to content

Instantly share code, notes, and snippets.

@EkremGungormez
Created February 23, 2012 11:18
Show Gist options
  • Save EkremGungormez/1892424 to your computer and use it in GitHub Desktop.
Save EkremGungormez/1892424 to your computer and use it in GitHub Desktop.
nested list en
<style type="text/css">
.foo1 {counter-reset: foo1;}
.foo1 li {list-style-type: none;}
.foo1 li::before {counter-increment: foo1;content: "1." counter(foo1) " ";}
</style>
<ol class=” foo1”>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment