26 ms·
You can create an SVG where certain elements are hidden when rendered below a particular size using embedded JavaScript. It would be a pain in the ass because i
by WiseWeasel 13y ago
You can create an SVG where certain elements are hidden when rendered below a particular size using embedded JavaScript. It would be a pain in the ass because it would have to be done by hand, but you could do it. It's a problem with the tools we use to create SVGs, not the capabilities of the format.
- panzi 13y agoHmm, could it be done via CSS?
- WiseWeasel 13y agoNow that you mention it, you can do it with CSS media queries, like so (but with shape and path elements rather than image elements): https://github.com/estelle/clowncar https://github.com/estelle/clowncar