Created
April 7, 2014 16:26
-
-
Save anotheruiguy/10023575 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$types: positive negative passive aggressive; | |
$length: length($types); | |
$type-width: 20px; | |
@while $length > 0 { | |
.type-#{nth($types, $length)} { | |
width: $type-width + $length; | |
} | |
$length: $length - 1; | |
} |
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
.type-aggressive { | |
width: 24px; | |
} | |
.type-passive { | |
width: 23px; | |
} | |
.type-negative { | |
width: 22px; | |
} | |
.type-positive { | |
width: 21px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment