Created
May 25, 2020 16:43
-
-
Save kartiknair/140978e2483d5f8a95125c19be19a83d to your computer and use it in GitHub Desktop.
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
/* ↓ This one is for smaller phones ↓ */ | |
@media (max-width: 350px) { | |
html { | |
font-size: 0.9rem; | |
} | |
} | |
/* ↓ These are for high-res displays ↓ */ | |
@media (min-width: 1900px) { | |
html { | |
font-size: 1.5rem; | |
} | |
} | |
@media (min-width: 2500px) { | |
html { | |
font-size: 2rem; | |
} | |
} | |
@media (min-width: 3000px) { | |
html { | |
font-size: 2.5rem; | |
} | |
} | |
@media (min-width: 3400px) { | |
html { | |
font-size: 3rem; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment