English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

CSS Reference Manual

CSS @rules (RULES)

Comprehensive List of CSS Properties

CSS Functions (Functions)

CSS has the following functions:

FunctionDescriptionCSS version
attr()Returns the attribute value of the selected element.2
calc()Allows calculation of CSS attribute values, such as dynamically calculating length values.3
cubic-bezier()Defined a cubic Bezier curve.3
hsl()Define colors using hue, saturation, and brightness.3
hsla()Define colors using hue, saturation, brightness, and opacity.3
linear-gradient()Create an image with a linear gradient3
radial-gradient()Creates images with radial gradients.3
repeating-linear-gradient()Creates images with repeated linear gradients.3
repeating-radial-gradient()Similar to radial-gradient(), creates images with repeated radial gradients.3
rgb()Use the superposition of red (R), green (G), blue (B) to generate various colors.2
rgba()Use the superposition of red (R), green (G), blue (B), and opacity (A) to generate various colors.3
var()Used to insert custom attribute values.3