Inline SVG w/ picture/Picturefill: <picture><source type="image/svg+xml" srcset="foo.svg"><img srcset="foo.png" alt="..."></picture>
-
-
Replying to @scottjehl
@scottjehl What's the advantage of that over say <img src="foo.png" srcset="foo.svg">?2 replies 0 retweets 0 likes -
Replying to @AndyDavies
@AndyDavies@scottjehl’s solution works in browsers that support SVG, but don’t natively support `srcset`.3 replies 0 retweets 1 like -
Replying to @mathias
@mathias As does@AndyDavies' solution? :)@scottjehl2 replies 0 retweets 0 likes
Replying to @derSchepp
@derSchepp Yeah, but that one would use the PNG version instead of the SVG version in those browsers. +@AndyDavies @scottjehl
2:00 PM - 22 Apr 2014
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.