3 ms·
You can literally do all of that with SVGs sprites when the fill is set to currentColor.
by toastal 4y ago
You can literally do all of that with SVGs sprites when the fill is set to currentColor.
- asddubs 4y agoOnly with inline svgs, not if they're included via <img>, I believe.
- toastal 4y agoYou can't inline a font as an <img> either?? There are performance benefits to <img>, but generally people recommend <use> for SVGs.
- asddubs 4y agothe point I made in my original post was that a font is already an external resource and doesn't have to be intermingled with the rest of the code.