Skip to content

Instantly share code, notes, and snippets.

@janily
Created January 16, 2014 11:36
Show Gist options
  • Save janily/8453473 to your computer and use it in GitHub Desktop.
Save janily/8453473 to your computer and use it in GitHub Desktop.
Mobile-first CSS Media Queries Breakpoints
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ }
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ }
@media (min-width:1281px) { /* hi-res laptops and desktops */ }
@nitinjs
Copy link

nitinjs commented May 16, 2023

great!

@janily
Copy link
Author

janily commented Aug 24, 2023

great!

Thanks!

@matheusscarvalho1
Copy link

very useful!

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