3 ms·
If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.
by kccqzy 8mo ago
If you just serve SVGs through <img> tag it’ll be much safer. I never understood the appeal of inline <svg> anyways.
- rwj 8mo agoInline reduces round trips.
- toast0 8mo agoYou can use img with a data url?
- lenkite 8mo agoInline SVG is stylable with CSS styles in the same HTML page.
- runarberg 8mo agoAlso animatible with the same context (Animation API, etc.) as the parent page, so different SVGs can influence each other’s animations.