srcset "Can I use..." widgets
The srcset
and sizes
attributes on img
(or source
) elements allow authors to define various image resources and “hints” that assist a user agent to determine the most appropriate image source to display (e.g. high-resolution displays, small monitors, etc).
What browser do support srcset widget
Add this code to your website
<script data-feature="srcset" defer src="https://cdn.caniusewidgets.com/scripts/overviewtable.js"></script>
to display the following widget
⇓
How many browsers globally do support srcset widget
Add this code to your website
<script data-feature="srcset" defer src="https://cdn.caniusewidgets.com/scripts/browsersupport.js"></script>
to display the following widget
⇓
Is srcset supported in my browser widget
Add this code to your website
<script data-feature="srcset" defer src="https://cdn.caniusewidgets.com/scripts/single.js"></script>
to display the following widget
⇓
caniusewidgets.com/srcset
Change caniuse.com to
caniusewidgets.com to
get to this page
Other interesting features: