repeating linear gradient

Solutions on MaxInterview for repeating linear gradient by the best coders in the world

showing results for - "repeating linear gradient"
Martina
27 Sep 2019
1body {
2  background-image: repeating-linear-gradient(-45deg,
3      transparent,
4      transparent 20px,
5      black 20px,
6      black 40px);
7  /* with multiple color stop lengths */
8  background-image: repeating-linear-gradient(-45deg, 
9      transparent 0 20px, 
10      black 20px 40px);
11}
12