Created
September 16, 2013 19:30
-
-
Save aarongustafson/6585366 to your computer and use it in GitHub Desktop.
Zoom Layouts v2 In the formula, include your width in ems (in place of X)
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
@media screen and (min-width: X) { | |
body { | |
font-size: ( ( 1em / X ) * 100 )vw; | |
} | |
} |
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
@media screen and (min-width: 64em) { | |
body { | |
font-size: 1.5625vw; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment