
2
srcset and sizes in email?
I stumbled across the following use of
and
srcset
in an email for the first time.
sizes
<img src="image.gif" class="hero-image" width="580" style="border:0; max-width:100%;" srcset="image.gif 580w, large-image.gif?width=1160 1160w" sizes="(max-width: 580px) 100vw, 580px">
Is anyone else is using this in email?
Where is it supported?
Hi Charles !
srcset
andsizes
are well supported on Apple Mail on iOS 9 and above. (iOS 8 supportedsrcset
, but only withx
descriptors). Last time I checked, it also worked in french webmails of Orange and SFR. Gmail, Yahoo, Outlook.com and AOL all remove the attributes.Thanks! This is great news. I am surprised it has not been shared more in responsive image and high-density discussions.