You can detect if you need to serve retina images with devicePixelRatio: https://cloudup.com/cAgXJVGH5KI
-
-
@mathias I’m not sure to understand how that invalidates this technique. SVG is a different story if that’s what you’re referring to.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.