D
D
Daniel2019-05-18 17:59:39
Layout
Daniel, 2019-05-18 17:59:39

How to make a responsive SVG background on a block? or not?

Greetings, the task is to make a "curvy background", but when scaling the page, it is cut off at the edges...

This is how it turns out
5ce01d273a58c245399759.png
should be something like this, but full width
5ce01d4a7b7e6125610714.png

Is it possible to do it the way it is on the second screen, but adaptively?
The option to color the block using css and insert an svg file above and below that creates the effect of such a wave will not work, since everything is done with a gradient there and it will be unrealistic to match the gradient of the block and the gradient of the svg file...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2019-05-18
@Sunrise23

If you make a mask on SVG inside which you put another SVG, then maybe something will work out

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question