V
V
Valentin Birulya2020-04-28 20:50:19
css
Valentin Birulya, 2020-04-28 20:50:19

How to change svg background in css?

Sorry, just today asked the same question, there I found the answer.
Right now I checked svg and there is just a copy of my question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-04-28
@nykakdelishki

SVG has no background, objects have fill (fill). And you set the background to the element in which the SVG is located.
PS: Or you can have a polygon for the entire size of the SVG, which will “lie behind”, but still it will have a fill to fill.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question