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

B

C

D

E

F

G

H

I

L

M

O

P

R

S

T

U

V

规范

Specification
CSS Values and Units Module Level 4
CSS Color Module Level 4
CSS Images Module Level 3

参见