Skip to content

Instantly share code, notes, and snippets.

@shansana
Created September 19, 2017 09:04
Show Gist options
  • Save shansana/29835d1ecd9ceb62115f9567009abdaf to your computer and use it in GitHub Desktop.
Save shansana/29835d1ecd9ceb62115f9567009abdaf to your computer and use it in GitHub Desktop.
Media queries for responsive layout CSS
@media only screen and (min-width:1280px) {}
@media (min-width:1024px) and (max-width:1279px) {}
@media (min-width:768px) and (max-width:1023px) {}
@media (min-width:480px) and (max-width:767px) {}
@media screen and (max-width:479px) {}
@media only screen and (max-width:320px) {}
@media only screen and (max-width:767px) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment