3

Right now, I'm using this one for tablets:

@media screen and (max-width: 960px) {
}

and this one for smarthphones:

@media screen and (max-width: 480px) {
}

I want to keep it simple and use only two. What are the most used media queries for smarthphone and tablet?

Rob W
  • 341,306
  • 83
  • 791
  • 678
alexchenco
  • 53,565
  • 76
  • 241
  • 413

1 Answers1

0

I would use for mobile devices:

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px)

AND for tablets:

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)

Didn't see the date posted...a little out of date.

james
  • 5,006
  • 8
  • 39
  • 64