ikfb0q
Last Updated: February 25, 2016
·
11.04K
· angrauel
9c18132b3cee0bda425e22e4af300d28

Retina Images in Webkit

Safari 6+, iOS 6+ and already available in Chromium.

background-image: -webkit-image-set(
url(assets/image.png) 1x,
url(assets/image_2x.png) 2x
);

Update: I've had a mistake in my example thanks to twitter.com/bschildt for the hint.