Expand description
Define some utility functions used to detect the CSS type of a CSS value.
Functionsยง
- is_
matching_ absolute_ size - Returns whether the CSS value is an
absolute size. - is_
matching_ all - Match all CSS types.
- is_
matching_ angle - Returns whether the CSS value has the
<angle>type. - is_
matching_ color - Returns whether the CSS value has the
<color>type. - is_
matching_ computational_ css_ function - Returns whether the CSS value is a computational CSS function like:
- is_
matching_ gradient - Returns whether the CSS value has the
<gradient>type. - is_
matching_ image - Returns whether the CSS value has the
<image>type. - is_
matching_ length - Returns whether the CSS value has the
<length>type. - is_
matching_ line_ style - Returns whether the CSS value is a
line style. - is_
matching_ line_ width - Returns whether the CSS value is a
line width. - is_
matching_ number - Returns whether the CSS value has the
<number>type. - is_
matching_ percentage - Returns whether the CSS value has the
<percentage>type. - is_
matching_ position - Returns whether the CSS value has the
<position>type. - is_
matching_ relative_ size - Returns whether the CSS value is a
relative size. - is_
matching_ shadow - Returns whether the CSS value is a
shadow. - is_
matching_ time - Returns whether the CSS value has the
<time>type. - is_
matching_ url - Returns whether the CSS value is an
url(). - is_
matching_ var - Returns whether the CSS value is a
var().