Created
June 7, 2009 13:40
-
-
Save tmschndr/125329 to your computer and use it in GitHub Desktop.
sass fun. hacked with http://github.com/skddc before our sass-session at barcampcologne3 #bcc3
This file contains hidden or 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
!base_font_size = 15px | |
!base_color = #000 | |
#tag_cloud | |
@for !n from 1 through 10 | |
.importance_#{!n} | |
:font-size= round(!base_font_size + ((!base_font_size / 10) * !n)) | |
@if !n < 5 | |
:color= !base_color + (!n * #111) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment