Skip to content

Instantly share code, notes, and snippets.

@sorokadima
Last active June 1, 2020 06:16
Show Gist options
  • Save sorokadima/88f402617067d675f05d648417c17ee8 to your computer and use it in GitHub Desktop.
Save sorokadima/88f402617067d675f05d648417c17ee8 to your computer and use it in GitHub Desktop.
Media Queries

Small only

@media screen and (max-width: 39.9375em) {}

Medium and up

@media screen and (min-width: 40em) {}

Medium only

@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

Large and up

@media screen and (min-width: 64em) {}

Large only

@media screen and (min-width: 64em) and (max-width: 74.9375em) {}

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