M
M
monochromer2015-11-01 09:53:11
css
monochromer, 2015-11-01 09:53:11

How to implement slanted ribbons across the full height of the page?

Hello! There is a layout of the landing (in this case, just a diagram for demonstration):
6fbeff86f353436abe4919ebaa389c85.jpg
Ribbons run through its entire height. I wanted to be smart with gradients - something like this . But here the problem is that the tapes do not go to the edges of the section, but continue each other. At the same time, they have a different color and they must adapt to a different amount of content in the section.
How to implement the idea?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Dubrovsky, 2015-11-01
@Vusluk

Hello. As an option https://jsfiddle.net/udx25j4x/1/
Specified the direction of the gradient in degrees and set the background-position.
Try playing with the values.

D
Dmitry, 2015-11-01
@soledar10

as option
jsfiddle.net/soledar10/348Lpkdo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question