S
S
sinneren2020-01-28 17:44:52
css
sinneren, 2020-01-28 17:44:52

Is nesting of styles supported on svg object with external css?

There is svg. First, I set xml and the path to the style file.
I connect through object.
In styles, I registered a class that is in svg.
If written without nesting, for example, .icon-rouble(inside svg) { fill: #000; }, then everything works.
If written with nesting, for example, .wrapper(div) > .svg-icon(object) > .icon-rouble(inside svg) { fill: #000; }, then it doesn't work anymore.
What then is the point of such use, if it does not see external classes, can it be overcome?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question