ikfb0q
11.03K
· June 2012 ·
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.

Sign in or sign up to add your response.