Skip to content

Instantly share code, notes, and snippets.

@autumn-hoerr
Last active December 17, 2015 14:19
Show Gist options
  • Save autumn-hoerr/5623235 to your computer and use it in GitHub Desktop.
Save autumn-hoerr/5623235 to your computer and use it in GitHub Desktop.
ol, .item_list ol
margin-left: 68px
padding: 0
counter-reset: item
li
display: block
position: relative
padding: 0 0 .75em .75em
&:before
content: counter(item)
counter-increment: item
color: #444
opacity: .5
position: absolute
left: -17px
ol
margin-left: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment