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 conic gradient() Function

CSS conic-gradient() Function

 

 

The conic-gradient() function is used to define a conic gradient as the background image. It is a gradient with color transitions rotated around a center point and has at least two color stops.

 

Syntax:-

 

Its syntax is:- background-image: conic-gradient([from angle] [at position,] color degree, color degree, ...);

 

Further Explanation:-

 

Value Description
from angle Optional. The entire conic gradient is rotated by this angle. Default is 0deg
at position Optional. Specifies the gradient center of the conic gradient. Default is center
color degree, color degree, ... Color stops are the colors we want to render smooth transitions among. Its value consists of a color value, followed by an optional stop position.

Code Explanation

All Tutorials related to CSS Functions

All Sections related to CSS