A
A
Alex2020-04-20 07:08:43
css
Alex, 2020-04-20 07:08:43

Why doesn't transition on svg use work?

I ran into a problem that transition does not work on icons that are inserted using use. Is it possible to bypass this somehow?

Example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rustam Bainazarov, 2020-04-20
@pilolin

This can be bypassed, but only in this way and only for the fill of the root SVG. In this case, this will work as it should:

In Firefox, styling the entire SVG structure via use works fine. But only in Firefox.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question