CSS's repeating-linear-gradient with multiple angles

314 Views Asked by At

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? Repeating linear gradient with multiple angles. Thanks!

1

There are 1 best solutions below

0
On

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;
}