Detect retina displays with javascript
var retina = window.devicePixelRatio > 1 ? true : false;
Written by Mapan William
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#