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.
Written by Andreas Grauel
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#