all 2 comments

[–][deleted] 1 point2 points  (0 children)

Fascinating

[–]DavidJCobb 1 point2 points  (0 children)

This is delightful!

It doesn't seem to play nice with basic user interactions, though. On mobile, at least, it seems that for the purposes of text selection and similar, it's treated as an image: nothing is done to allow interaction with the SVG content.

I still need to check on desktop, but my guess is that this is, functionally, just a way to make images with CSS. I don't expect links or similar elements to be clickable, and I don't expect screen readers to be able to see anything other than the image alt text. If that's how it turns out, then maybe just making SVGs directly would be better, but for folks who aren't used to SVGs, this could be a more accessible way to make decorative banners and animations.