CSS repeating linear gradient() Function
CSS repeating-linear-gradient() Function
The repeating-linear-gradient() function is used for repeating multiple linear gradients.
Its syntax is:- background-image: repeating-linear-gradient(angle | to side-or-corner, color-stop1, color-stop2, ...);
|angle||Defines an angle of direction for the gradient.|
|side-or-corner||Defines the position of the starting point of the gradient line. It has two keywords i.e, the first one indicates the horizontal side and the second one the vertical side.|
|color-stop1, color-stop2,...||Color stops are the colors that we want to render with smooth transitions. It consists of a color value, with an optional stop position.|