Re:Magical SVG Techniques
by nverno on Friday May 27, 2022 @08:21AM
(#31528700)
Do you use a tool for that? Or just the browser?
[ Parent
| on HN ]
I've been using vscode with an SVG live preview extension.
Can you share which extension you use? There seem to be a few of them out there.
https://marketplace.visualstudio.com/items?itemName=jock.svg
It also does other IDE things like completions and MDN docs tooltips (quite handy for infrequent path authoring).
Don't remember why, but I also have a separate SVGO (sort of a formatter) extension.[1] Perhaps because of the brokenness in the other extension (noted on its marketplace page).
[1] https://marketplace.visualstudio.com/items?itemName=1000ch.s...
I just code in a text editor or in jsfiddle.net.
Changing gradients values or attaching a different gradient can only be done in JS (not CSS, AFAIK).
Re:Magical SVG Techniques
by iostream24 on Friday May 27, 2022 @06:01PM
(#31535432)
You can use a subset of css on svg too… and either css or js animation