CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS repeating linear gradient() Function

CSS repeating-linear-gradient() Function

 

 

The repeating-linear-gradient() function is used for repeating multiple linear gradients.

 

Syntax:-

 

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

 

Further Explanation:-

 

Value Description
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.

Code Explanation

All Tutorials related to CSS Functions

All Sections related to CSS