Skip to content

Instantly share code, notes, and snippets.

@pablolobos
Created August 25, 2014 13:51
Show Gist options
  • Save pablolobos/fd7e1d0478348aae706a to your computer and use it in GitHub Desktop.
Save pablolobos/fd7e1d0478348aae706a to your computer and use it in GitHub Desktop.
css_ol_complex-numbers.css
ol {
counter-reset: section;
list-style-type: none;
}
ol ol ol{
background:#c0c0c0; padding-left:10px;
}
ol li {
counter-increment: section;
}
ol li:before {
content: counters(section, ".") ". ";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment