@Media min-width & max-width

I have this @media setup: HTML: <head> <meta name=”viewport” content=”width=device-width, user-scalable=no” /> </head> CSS: @media screen and (min-width: 769px) { /* STYLES HERE */ } @media screen and (min-device-width: 481px) and (max-device-width: 768px) { /* STYLES HERE */ } @media only screen and (max-device-width: 480px) { /* STYLES HERE */ } With this setup it … Read more

What is the difference between “screen” and “only screen” in media queries?

What is the difference between screen and only screen in media queries? <link media=”screen and (max-device-width: 480px)” rel=”stylesheet” href=”https://stackoverflow.com/questions/8549529/m.css” /> <link media=”only screen and (max-device-width: 480px)” rel=”stylesheet” href=”https://stackoverflow.com/questions/8549529/m.css” /> Why are we required to use only screen? Does screen not itself provide enough information to be rendered only for screen? I’ve seen many responsive websites … Read more