J
J
jsdmaria2021-04-01 15:20:51
css
jsdmaria, 2021-04-01 15:20:51

Why svg animation doesn't work in Firefox?

In chrome everything is fine, in FF it is static. I can not understand.

https://codepen.io/rorytype/pen/RwKKzqE

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JavaDev, 2021-04-01
@jsdmaria

Firefox DevTools says what the problem is:
6065bfe03c791934673668.jpeg
Just add pxto keyframes. Example:

@-webkit-keyframes circle1 {
    0% { r: 20px;}
    15% { r: 30px; cy: -30px;}
    30% { r: 20px; cy: 20px;}
    45% { cy: 10px; }
    60% { cy: 20px; }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question