Skip to content

Instantly share code, notes, and snippets.

@aekaplan
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aekaplan/8969695 to your computer and use it in GitHub Desktop.
Save aekaplan/8969695 to your computer and use it in GitHub Desktop.
Min-width Media Queries CSS
/* 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%; }
}
@davidbgk
Copy link

Line 2, there is a typo (";" instead of ":").

@aekaplan
Copy link
Author

Thanks! Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment