Created
May 3, 2013 14:59
-
-
Save cb99999/5509631 to your computer and use it in GitHub Desktop.
css > dynamic font size
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
<style> | |
h1 { | |
font-size: 3.0vw; | |
} | |
p.lead { | |
font-size: 2.5vh; | |
} | |
p { | |
font-size: 2vmin; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment