Skip to content

Instantly share code, notes, and snippets.

@dylan-k
Last active April 23, 2021 18:43
Show Gist options
  • Save dylan-k/6124952 to your computer and use it in GitHub Desktop.
Save dylan-k/6124952 to your computer and use it in GitHub Desktop.
This is an empty CSS file that contains media queries. Replace /*...*/ blocks with ordinary css, to have that css applied to specific screen sizes.#
/* Large desktop */
@media (min-width: 1200px) { /*...*/ }
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { /*...*/ }
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { /*...*/ }
/* Landscape phones and down */
@media (max-width: 480px) { /*...*/ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment