Module value_matchers

Module value_matchers 

Source
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().