Thursday, 19 September 2013

Media queries catch tablet portrait

Media queries catch tablet portrait

I have the following rules:
@media only screen and (min-device-width : 320px) and (max-device-width :
480px)
@media only screen and (min-width : 321px) /* Smartphones (landscape) */
@media only screen and (max-width : 320px) /* Smartphones (portrait) */
@media only screen and (min-width: 768px) /* tablets and desktops */
How to catch tablet portrait without affect the other rules?

No comments:

Post a Comment