CSS Functional Notation
CSS 功能符号是一种 CSS 值,可以表示更复杂的数据类型或调用特殊的数据处理或计算。
句法
selector { property: functional-notation( [argument]? [, argument]! ); }
The syntax starts with the name of the functional notation, followed by a left parenthesis (
. Next up are the notation argument(s), and the function is finished off with a closing parenthesis )
.
Functions can take multiple arguments, which are formatted similarly to CSS property values. Whitespace is allowed, but they are optional inside the parentheses. In some functional notations multiple arguments are separated by commas, while others use spaces.
索引
Functional notation defined by a set of CSS specifications includes the following:
A
abs()
(en-US) (math) 实验性acos()
(en-US) (math) 实验性annotation()
(font)asin()
(en-US) (math) 实验性atan()
(en-US) (math) 实验性atan2()
(en-US) (math) 实验性attr
B
blur()
(filter)brightness()
(filter)
C
calc
(math)character-variant()
(font)circle()
(shape)clamp
(math)color()
(colors) 实验性conic-gradient
(en-US)cos()
(en-US) (math) 实验性counter
counters
contrast()
(filter)cross-fade
(en-US) 实验性cubic-bezier()
D
device-cmyk()
(colors) 实验性drop-shadow()
(filter)
E
element
实验性env
实验性ellipse()
(shape)exp()
(en-US) (math) 实验性
F
G
grayscale()
(filter)
H
hsl()
(colors)hsla()
(colors)hue-rotate()
(en-US) (filter)hwb()
(colors) 实验性hypot()
(en-US) (math) 实验性
I
image()
(en-US) 实验性image-set
(en-US) 实验性inset()
(shape)invert()
(en-US) (filter)
L
lab()
(colors) 实验性lch()
(colors) 实验性leader()
linear-gradient
(en-US)local()
实验性log()
(en-US) (math) 实验性
M
matrix()
(transform)matrix3d()
(transform)max
(math)min
(math)minmax
(math)mod()
(en-US) (math) 实验性
O
opacity()
(filter)ornaments()
(font)
P
paint
(en-US) 实验性path()
(en-US) (shape)perspective()
(transform)polygon()
(shape)pow()
(en-US) (math) 实验性
R
radial-gradient
(en-US)rem()
(en-US) (math) 实验性repeat
repeating-linear-gradient
(en-US)repeating-radial-gradient
(en-US)repeating-conic-gradient
(en-US)- rgb() (colors)
- rgba() (colors)
rotate()
(transform)rotate3d()
(transform)rotateX()
(transform)rotateY()
(transform)rotateZ()
(transform)round()
(en-US) (math) 实验性
S
saturate()
(en-US) (filter)scale()
(transform)scale3d()
(en-US) (transform)scaleX()
(transform)scaleY()
(transform)scaleZ()
(en-US) (transform)sepia()
(en-US) (filter)sign()
(en-US) (math) 实验性sin()
(en-US) (math) 实验性skew()
(transform)skewX()
(transform)skewY()
(transform)sqrt()
(en-US) (math) 实验性steps()
styleset()
(font)stylistic()
(font)swash()
(font)symbols()
(en-US)
T
tan()
(en-US) (math) 实验性target-counter()
实验性target-counters()
实验性target-text()
实验性toggle()
实验性translate()
(transform)translate3d()
(transform)translateX()
(transform)translateY()
(transform)translateZ()
(en-US) (transform)
U
V
规范
{{Specifications}}