Simple HiDPI / Retina test for Modernizr

Recently, I needed HiDPI / Retina detection via JavaScript so I decided to write a basic Modernizr.js test that simply uses JavaScript device pixel ratio media queries and tests whether or not the user has a high resolution capable display.

View on GitHub

One comment on “Simple HiDPI / Retina test for Modernizr

  1. Hi,
    This all of your article simply nice, very informative. I do find the use of HTML5 and CSS3 with demo. Its really needful for me to do more productive.

    But if u can suggest me, that how a designer can easily get the plugin…when he is design wire-frame for any website.