Last active
August 29, 2015 13:56
-
-
Save aekaplan/8969695 to your computer and use it in GitHub Desktop.
Min-width Media Queries 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
/* Small screens (default) */ | |
html { font-size: 100%; } | |
/* Medium screens (640px) */ | |
@media (min-width: 40rem) { | |
html { font-size: 112%; } | |
} | |
/* Large screens (1024px) */ | |
@media (min-width: 64rem) { | |
html { font-size: 120%; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 2, there is a typo (";" instead of ":").