Created
February 21, 2014 17:05
-
-
Save jensgro/9138432 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.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
/* As we are used to use it */ | |
@for $level from 0 to 5 { | |
.tagcloud-#{$level + 1} { | |
font-size: .7em + ($level * .5em); | |
} | |
} | |
/* ========================= */ | |
/* simpler, without calculating inside interpolation */ | |
@for $level from 1 to 6 { | |
.tag-#{$level} { | |
font-size: .7em + ($level * .5em); | |
} | |
} | |
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
/* As we are used to use it */ | |
.tagcloud-1 { font-size: 0.7em; } | |
.tagcloud-2 { font-size: 1.2em; } | |
.tagcloud-3 { font-size: 1.7em; } | |
.tagcloud-4 { font-size: 2.2em; } | |
.tagcloud-5 { font-size: 2.7em; } | |
/* ========================= */ | |
/* simpler, without calculating inside interpolation */ | |
.tag-1 { font-size: 1.2em; } | |
.tag-2 { font-size: 1.7em; } | |
.tag-3 { font-size: 2.2em; } | |
.tag-4 { font-size: 2.7em; } | |
.tag-5 { font-size: 3.2em; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment