Skip to content

Instantly share code, notes, and snippets.

@BuddyLReno
Created April 16, 2014 20:05
Show Gist options
  • Save BuddyLReno/10927436 to your computer and use it in GitHub Desktop.
Save BuddyLReno/10927436 to your computer and use it in GitHub Desktop.
Sass Step Counter
ul {
clear: both;
padding: 90px 0 0 0;
counter-reset: steps-counter;
li {
clear: both;
&:before {
@extend h2;
display: inline;
content: "Step " counter(steps-counter);
counter-increment: steps-counter;
}
h4 {
margin: 0;
}
p {
margin-top: 0;
}
img {
@extend %image--round;
margin:-2em 2em 4em 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment