Skip to content

Instantly share code, notes, and snippets.

@abhisharma2
Last active August 29, 2015 14:17
Show Gist options
  • Save abhisharma2/58f432969c34c0df6ec7 to your computer and use it in GitHub Desktop.
Save abhisharma2/58f432969c34c0df6ec7 to your computer and use it in GitHub Desktop.
Text Indent Loop
.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;
}
// ----
// 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