Answer the question
In order to leave comments, you need to log in
How to find a user knowing his email?
How to find all other information about a user from the database knowing only his email and password?
Answer the question
In order to leave comments, you need to log in
In this case, keeping SVG in the markup, as in Andrew 's example , is optional. All you need is an external SVG file with the +
attribute . Then you can call the desired picture with a wave through - and everything will be adaptively stretched.
In the example, I did it not through a link, but through base64, because I don’t know the hosts where you can upload SVG, you just need to change the base64 code to a link from your hosting:preserveAspectRatio="none"
background-size: 100% 100%
background: url()
Here is the SVG code itself, note the attribute preserveAspectRatio="none"
:
<svg preserveAspectRatio="none" viewBox="0 0 314 109">
<path d="M45.33 34.92A183.358 183.358 0 0 0 92.91 41c70.66.27 107.53-30.89 180.89-30.95a263.848 263.848 0 0 1 40.2 3.09V109H0V15.82a181.388 181.388 0 0 0 45.33 19.1z" fill="#fff"></path>
</svg>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question