You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a lot you can do with inline SVG and HTML, including styling with CSS and adding interactivity with JavaScript… but there's a lot you can't do, from automatic caching of inline SVG the way you can with an img tag, to embedding HTML directly within the SVG markup, to adding box-shadow directly on SVG shapes. There's also the redundancy of CSS shapes vs. SVG, comparatively poor support for SVG transitions… I also would like a way to directly target individual points of an SVG with JavaScript in order to more easily animate; right now, there's no distinct representation of points. Text selection also doesn't work the same within HTML and SVG.
Sometimes SVG feels perfectly integrated, but sometimes it also feels bolted on. I want SVG and CSS to be the default design framework for the web, from layout to UI to animation.
This discussion was converted from issue #133 on October 29, 2020 00:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There's a lot you can do with inline SVG and HTML, including styling with CSS and adding interactivity with JavaScript… but there's a lot you can't do, from automatic caching of inline SVG the way you can with an
img
tag, to embedding HTML directly within the SVG markup, to addingbox-shadow
directly on SVG shapes. There's also the redundancy of CSS shapes vs. SVG, comparatively poor support for SVG transitions… I also would like a way to directly target individual points of an SVG with JavaScript in order to more easily animate; right now, there's no distinct representation of points. Text selection also doesn't work the same within HTML and SVG.Sometimes SVG feels perfectly integrated, but sometimes it also feels bolted on. I want SVG and CSS to be the default design framework for the web, from layout to UI to animation.
https://webwewant.fyi/wants/13/
Beta Was this translation helpful? Give feedback.
All reactions