O'Reilly logo
  • dafrina thinks this is interesting:

CSS3 media queries can do more than just check the width of a browser. The current media query standard states that you can check for height, orientation (whether a visitor holds a mobile phone in portrait or landscape mode), and even whether a device uses a color or monochrome screen. There are a few other browser characteristics you can check with media queries, but not all browsers support the queries. You can learn more about media queries at the W3C website: www.w3.org/TR/css3-mediaqueri...