Skip to content

Instantly share code, notes, and snippets.

@EkremGungormez
Created February 23, 2012 11:05
Show Gist options
  • Save EkremGungormez/1892364 to your computer and use it in GitHub Desktop.
Save EkremGungormez/1892364 to your computer and use it in GitHub Desktop.
nested list
<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>Kahve</li>
<li>Çay</li>
<li>Süt</li>
</ol>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment