By John Gruber
Bolt lets you build, edit, and test web applications in real time. Try it now.
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