Skip to content

Instantly share code, notes, and snippets.

@airen
Created April 26, 2015 12:00
Show Gist options
  • Save airen/7e9d1771b981b8030373 to your computer and use it in GitHub Desktop.
Save airen/7e9d1771b981b8030373 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$types: 4;
$type-width: 20px;
@while $types > 0 {
.while-#{$types} {
width: $type-width + $types;
}
$types: $types - 1;
}
.while-4 {
width: 24px;
}
.while-3 {
width: 23px;
}
.while-2 {
width: 22px;
}
.while-1 {
width: 21px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment