Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 4, 2014 06:10 am GMT

srcset in Chrome

It's worth noting that the srcset attribute for the img element has landed in Chrome (still one version upstream from stable at this second). Their example: <img alt="A rad wolf." src="pic1x.jpg" srcset="pic1x.jpg 1x, pic2x.jpg 2x, pic4x.jpg 4x"> And:

Stay tuned for the element

We needed this. The fight was arduous. The solution is good. Other browsers will be on the way. This is notable as once a browser supports something, the tendency is for it to always be supported. Plus …


srcset in Chrome is a post from CSS-Tricks


Original Link: http://blog.chromium.org/2014/02/chrome-34-responsive-images-and_9316.html

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks