Last active
August 29, 2015 14:17
-
-
Save abhisharma2/58f432969c34c0df6ec7 to your computer and use it in GitHub Desktop.
Text Indent Loop
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
.indent-10 { | |
text-indext: 10px; | |
} | |
.indent-20 { | |
text-indext: 20px; | |
} | |
.indent-30 { | |
text-indext: 30px; | |
} | |
.indent-40 { | |
text-indext: 40px; | |
} | |
.indent-50 { | |
text-indext: 50px; | |
} | |
.indent-60 { | |
text-indext: 60px; | |
} | |
.indent-70 { | |
text-indext: 70px; | |
} | |
.indent-80 { | |
text-indext: 80px; | |
} | |
.indent-90 { | |
text-indext: 90px; | |
} | |
.indent-100 { | |
text-indext: 100px; | |
} |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$multiplier: 10px | |
@for $i from 1 through 10 | |
.indent-#{$i}0 | |
text-indext: $i * $multiplier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment