▲ | lpln3452 2 days ago | |
Right. I'd always just seen SVG as an image format. Interesting that browsers treat text inside them just like plain text. | ||
▲ | leptons 2 days ago | parent | next [-] | |
You can actually embed HTML inside an SVG using the foreignObject element. | ||
▲ | DrewADesign 2 days ago | parent | prev | next [-] | |
I’ve done some cool things with the built-in SMIL animation too. You can control it with JavaScript and CSS… Watch out for the filters though — they can be pretty heavy compute-wise. | ||
▲ | wild_egg 2 days ago | parent | prev [-] | |
I mean, it is just plain text inside some XML tags. It'd be weirder if they treated it like text in a photo |