Answer the question
In order to leave comments, you need to log in
Why is svg not stretching in IE?
Hey!
The crux of the matter: I have an svg image that I insert as a background into a div. And I expose this background background-size: cover;
.element {
background: url("../img/svg/purple.svg") center 50px no-repeat;
background-size: cover;
}
Answer the question
In order to leave comments, you need to log in
alternatively, support
caniuse.com/#search=background-size
caniuse.com/#search=svg
can be tried as a percentagebackground-size: 100% 100%;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question