You can detect if you need to serve retina images with devicePixelRatio: https://cloudup.com/cAgXJVGH5KI
-
-
Replying to @jsfordesigners
@jsfordesigners That won’t really help for @3x or better screens though.1 reply 0 retweets 0 likes
Replying to @bdc
@bdc …to teach @jsfordesigners followers about that.
12:36 AM - 27 Feb 2014
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.