Reputation: 45
My CSS-animated SVG does not seem to appear in Mozilla Firefox 58, but it does in Chrome.
Here is a link to the codepen page: https://codepen.io/ninivert/pen/qXvWxo
Why does this happen? Removing stroke-dashoffset
and stroke-dasharray
does not seem to help.
Upvotes: 0
Views: 1575
Reputation: 24202
You cannot use CSS to target SVG attributes, at least not with SVG 1.1. It's supposed to be possible with SVG 2.0, but browser support is very limited currently.
Upvotes: 1