0

I have written CSS media query for mobile landscape and tablet portrait. Here they are

For mobile landscape

@media (min-width : 480px) and (max-width : 800px) {
...
}

For tablet portrait

@media (min-width : 533px) and (max-width : 800px) {
...
}

When I open it in Mobile landscape view both queries have got triggered (mobile landscape & tablet portrait). Mobile landscape view is being used tablet portrait css media query since both condition are met. So I can see that both queries on the page.

Is there any way to force media to fetch mobile landscape code?

Thanks

4dgaurav
  • 11,360
  • 4
  • 32
  • 59
ezhil
  • 977
  • 6
  • 15
  • 36

0 Answers0