Easy Tutorial
❮ Pr Dim Max Height Pr Class Display ❯

CSS Functions

CSS includes the following functions:

Function Description CSS Version
attr() Returns the value of an attribute of the selected element. 2
calc() Allows for calculation of CSS property values, such as dynamically calculating length values. 3
cubic-bezier() Defines a cubic Bezier curve. 3
conic-gradient() Defines a conic gradient. 3
counter() Sets a counter. 3
hsl() Defines a color using hue, saturation, and lightness. 3
hsla() Defines a color using hue, saturation, lightness, and alpha. 3
linear-gradient() Creates an image with a linear gradient. 3
max() Selects the largest value from a comma-separated list of expressions as the property value. 3
min() Selects the smallest value from a comma-separated list of expressions as the property value. 3
radial-gradient() Creates an image with a radial gradient. 3
repeating-linear-gradient() Creates an image with a repeating linear gradient. 3
repeating-radial-gradient() Similar to radial-gradient(), creates an image with a repeating radial gradient. 3
repeating-conic-gradient() Repeating conic gradient. 3
rgb() Generates a color by combining red, green, and blue values. 2
rgba() Generates a color by combining red, green, blue, and alpha values. 3
var() Used to insert the value of a custom property. 3
repeat() Represents a repeating fragment of the track list. 3
minmax() Defines a closed interval for a size range. 3
❮ Pr Dim Max Height Pr Class Display ❯