C
C
Cheizer2021-06-30 15:55:11
css
Cheizer, 2021-06-30 15:55:11

How to rebuild background-linear gradient?

Please tell me how to rebuild - rotate with an arrow to the right, this background: linear-gradient?

I can’t understand how it works, I want the triangle to be 100% in block height and 75px in width.

Now so


And how to do so?
60dc69ac746a7673350082.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ankhena, 2021-07-01
@Cheizer

You have two background rectangles.
Both have a background size of 75px at 50%
One background is nailed to the top right edge, the other is nailed to the bottom.
In each is a simple diagonal gradient.
Everything.
The inner block with the absolute in the example is also completely redundant.
https://jsfiddle.net/f4b2yp58/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question