Skip to content

Instantly share code, notes, and snippets.

@manhleo93
Created July 24, 2017 09:54
Show Gist options
  • Save manhleo93/501152399eef03f2f2c751c2313c5ff3 to your computer and use it in GitHub Desktop.
Save manhleo93/501152399eef03f2f2c751c2313c5ff3 to your computer and use it in GitHub Desktop.
li.custom-list {
padding-right: 0;
margin-left: 0;
list-style-type: none;
counter-increment: step-counter;
padding-bottom: 15px;
margin-top: 15px;
margin-bottom: 15px;
display: flex;
}
li.custom-list::before {
content: counter(step-counter);
margin-right: 20px;
font-size: 48px;
background-color: transparent;
color: #ccc;
display: inline-block;
float: left;
width: 25px;
line-height: 48px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment