Last active
December 12, 2015 04:29
-
-
Save djanix/4715067 to your computer and use it in GitHub Desktop.
Font size for mobile devices
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
body { | |
font-size: 62.5%; /* resets the page font size */ | |
} | |
p { | |
font-size: 0.8em; /* equals 8px */ | |
font-size: 1.0em; /* equals 10px */ | |
font-size: 1.6em; /* equals 16px */ | |
font-size: 2.0em; /* equals 20px */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment