Created
April 16, 2014 20:05
-
-
Save BuddyLReno/10927436 to your computer and use it in GitHub Desktop.
Sass Step Counter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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