CSS repeatinglineargradient() Function (original) (raw)

CSS repeating-linear-gradient() Function

Last Updated : 30 Aug, 2024

The repeating-linear-gradient() function is an inbuilt function in CSS that is used to repeat linear gradients.

**Syntax:

background-image: repeating-linear-gradient( angle | to side-or-corner, color-stop1,
color-stop2, ...);

**Parameters: This function accepts many parameters which are listed below:

Below example illustrates the repeating-linear-gradient() function in CSS:

**Example 1:

html `

repeating-linear-gradient() Function