Answer the question
In order to leave comments, you need to log in
Is it possible to insert SVG for background with different color and size?
How to correctly insert svg in the background of the header so that: -
you can set the color
- regardless of the size of the text, the background should display normally
Answer the question
In order to leave comments, you need to log in
it is necessary that the attribute be specified in the svg itself preserveAspectRatio='none'
, then it will be stretched without problems. so I added to your picture (although I had to inline it so as not to look for where to put it):
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question