I'm trying to create a repeating linear gradient with consecutive but inversed angles (alternating colors and angles). Is this posible? and how could I accomplish it? .
Thanks!
Asked
Active
Viewed 241 times
2

lupz
- 3,620
- 2
- 27
- 43

Guido Glielmi
- 73
- 1
- 5
-
Please show the code that tried. – Arman Ebrahimi Mar 07 '22 at 07:41
-
Please provide enough code so others can better understand or reproduce the problem. – Community Mar 07 '22 at 08:10
1 Answers
2
Those are two repeating linear-gradient:
html {
min-height: 1000px;
background:
linear-gradient( 12deg, #0000 70%, #000 0),
linear-gradient(168deg, #0000 70%, #000 0);
background-size: 100% 400px;
}

Temani Afif
- 245,468
- 26
- 309
- 415