CSS Functions
CSS has the following functions:
| function | Description | CSS version |
|---|---|---|
| attr() | Returns the value of a property of the selected element. | 2 |
| calc() | Allows CSS property values to be calculated, 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 opacity. | 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 value of a property. | 3 |
| min() | Selects the smallest value from a comma-separated list of expressions as the value of a property. | 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() | A repeating conic gradient. | 3 |
| rgb() | Uses the superposition of red (R), green (G), and blue (B) to generate a wide variety of colors. | 2 |
| rgba() | Uses the superposition of red (R), green (G), blue (B), and alpha (A) to generate a wide variety of colors. | 3 |
| var() | Used to insert a custom property value. | 3 |
| repeat() | Represents a repeated fragment of a track list. | 3 |
| minmax() | Defines a closed interval of width-to-height ratios. | 3 |