Created
July 22, 2015 07:06
-
-
Save absentees/a4cb0da67eab682ea71f to your computer and use it in GitHub Desktop.
Setup background images styles for all images in a folder
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
@for $i from 1 through 6 { | |
&.hero-img-#{$i} { | |
background: url(../photo/hero-#{$i}.jpg) top center no-repeat; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment