Skip to content

Instantly share code, notes, and snippets.

@bstro
Created June 23, 2013 05:40
Show Gist options
  • Save bstro/5843929 to your computer and use it in GitHub Desktop.
Save bstro/5843929 to your computer and use it in GitHub Desktop.
.index a:link {
text-decoration: none;
color: #3f3e3d;
position: relative;
z-index: 1;
}
.index li:before {
content: counter(li, decimal-leading-zero) '. ';
counter-increment: li;
z-index: 2;
position: relative;
}
.index li:hover, .index li:hover a {
color: #fff;
background: #eb6c46;
}
#title .index {
width: 80px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment