M
M
Maxim Timofeev2019-02-25 15:10:06
Internet Explorer
Maxim Timofeev, 2019-02-25 15:10:06

How to make a condition for IE(edge) in svg tag?

There are attributes

<g
            stroke-dasharray="1000"
            stroke-dashoffset="1000"
>

This is all separately in the svg file
, I can’t figure out how to change them for ie and edge in such a situation. There's SMIL animation and of course shit Browsers can't do it. I just wanted to give them statics, respectively, it must be done
stroke-dasharray="0"
stroke-dashoffset="0"

But the svg file is like backrgound in css, so there are troubles. I can't think of a hack to do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2019-02-25
@webinar

It's easier to first draw how it should look in browsers that cannot in SMIL, and only then try to stir it all up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question