2

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!

lupz
  • 3,620
  • 2
  • 27
  • 43
Guido Glielmi
  • 73
  • 1
  • 5

1 Answers1

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