Created
May 4, 2017 15:46
-
-
Save namurray/c1ff315269d2b41cb79e916a25d7f31b to your computer and use it in GitHub Desktop.
Shopify tag cloud CSS
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
.word-cloud { | |
display: inline-block; | |
max-width: 630px; | |
li { | |
display: inline-block; | |
padding: 0 1rem; | |
vertical-align: middle; | |
} | |
} | |
.tag-alpha { | |
font-size: .707em | |
} | |
.tag-beta { | |
font-size: 1em | |
} | |
.tag-gamma { | |
font-size: 1.414em | |
} | |
.tag-delta { | |
font-size: 1.999em | |
} | |
.tag-epsilon { | |
font-size: 2.827em | |
} | |
.tag-zeta { | |
font-size: 3.998em | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment