By John Gruber
For 138 years Lady Liberty watched over us — now it’s time to return the favor.
Peter-Paul Koch:
It pleases me to inform you that most browsers implement
window.devicePixelRatio
correctly. The property contains the ratio between physical pixels and dips, and even though some values appear strange at first, they actually make sense.
Super-useful for delivering retina-caliber web designs conditionally. Don’t miss his follow-up, either.
★ Friday, 6 July 2012