Converters
A set of already constructed CSS value converters.
Represents an number reduced to [0, 1] or percent.
https://drafts.csswg.org/css-color/#rgb-functions
Represents an angle object.
https://developer.mozilla.org/en-US/docs/Web/CSS/angle
Represents an number object that is a valid angle number.
Represents an identifier object that matches the production rules of a single transition property.
http://dev.w3.org/csswg/css-transitions/#single-transition-property
Represents a converter for the AnimationDirection enumeration.
Represents a converter for the AnimationFillStyle enumeration.
Represents a converter for anything. Just copies the tokens.
Represents an attribute retriever object.
http://dev.w3.org/csswg/css-values/#funcdef-attr
Represents a length (or default).
Represents a distance object (or default).
Represents a converter for the backface visibility mode.
Represents a converter for the BackgroundAttachment enumeration.
Represents a converter for the BackgroundRepeat enumeration.
Represents a converter for background repeat.
Represents a converter for background size.
Represents an integer object with 0 or 1.
Represents a converter for the border collapse mode.
Represents the border-radius (horizontal / vertical; radius) converter.
Represents the border-radius (h h h h / v v v v) converter.
Represents a length object that is based on percentage or number.
http://dev.w3.org/csswg/css-backgrounds/#border-image-slice
Represents a converter for the box decoration break mode.
Represents a converter for the BoxModel enumeration.
Represents a converter for the BreakMode enumeration (constraint to the inside values).
Represents a converter for the BreakMode enumeration.
Represents a converter for the caption side mode.
Represents a converter for the ClearMode enumeration.
Represents a color object.
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a converter for the column fill mode.
Represents a converter for the column span mode.
Represents a counter object.
http://www.w3.org/TR/CSS2/syndata.html#value-def-counter
Represents a cubic-bezier timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
Represents a color object or, alternatively, the current color.
Represents a converter for the default font families.
Represents a converter for the DirectionMode enumeration.
Represents a converter for the DisplayMode enumeration.
Represents a converter for the empty cells mode.
Represents many string objects, but always divisible by 2.
Represents a converter for the Floating enumeration.
Represents a converter for font families.
Represents a length for a font size.
Represents a converter for the FontStretch enumeration.
Represents a converter for the FontStyle enumeration.
Represents a converter for the FontVariant enumeration.
Represents a converter for the FontWeight enumeration.
Represents a frequency object.
https://developer.mozilla.org/en-US/docs/Web/CSS/frequency
Represents a gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/gradient
Represents a color object (GRAY function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a converter for the HorizontalAlignment enumeration.
Represents a color object (HSLA function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a color object (HSL function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a color object (HWB function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents an identifier object.
https://developer.mozilla.org/en-US/docs/Web/CSS/user-ident
Represents a length object that is based on percentage, length or number.
http://dev.w3.org/csswg/css-backgrounds/#border-image-width
Represents an image source object.
https://developer.mozilla.org/en-US/docs/Web/CSS/image
Represents an integer object.
https://developer.mozilla.org/en-US/docs/Web/CSS/integer
Represents a color object, the current color, or the inverted current color.
Represents a length object.
https://developer.mozilla.org/en-US/docs/Web/CSS/length
Represents a length object or alternatively a fixed length when "normal" is given.
Represents a distance object (either Length or Percent).
Represents a linear-gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient
Represents a distance object with line-height additions.
http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height
Represents a converter for the LineStyle enumeration.
Represents a length object with line-width additions.
http://dev.w3.org/csswg/css-backgrounds/#line-width
Represents a converter for the ListPosition enumeration.
Represents a converter for the ListStyle enumeration.
Represents a string object from many identifiers.
Sets the transformation matrix explicitly.
http://www.w3.org/TR/css3-transforms/#funcdef-matrix3d
Represents multiple image source object.
Represents multiple shadow objects.
Represents an integer object that is zero or greater.
Represents an number object that is zero or greater.
Represents a number object.
https://developer.mozilla.org/en-US/docs/Web/CSS/number
Represents a converter for the ObjectFitting enumeration.
Represents an optional image source object.
Represents an optional integer object.
Represents a length object or null, when "normal" is given.
Represents a distance object (either Length or Percent) or none.
Represents a positive or infinite number object.
Represents a converter for the OverflowMode enumeration.
Represents a converter for the OverflowWrap enumeration.
Represents a converter for the BreakMode enumeration (constraint to the page values).
Represents a paint object.
Represents a percentage object.
https://developer.mozilla.org/en-US/docs/Web/CSS/percentage
A perspective for 3D transformations.
http://www.w3.org/TR/css3-transforms/#funcdef-perspective
Represents a converter for the PlayState enumeration.
Represents a position object.
http://www.w3.org/TR/css3-background/#ltpositiongt
Represents a converter for the PositionMode enumeration.
Represents an integer object that is greater tha zero.
Represents a positive or infinite number object.
Represents an color object (usually hex or name).
https://developer.mozilla.org/en-US/docs/Web/CSS/color
Represents a radial-gradient object.
https://developer.mozilla.org/en-US/docs/Web/CSS/radial-gradient
Represents a ratio object.
https://developer.mozilla.org/en-US/docs/Web/CSS/ratio
Represents a resolution object.
https://developer.mozilla.org/en-US/docs/Web/CSS/resolution
Represents a color object (RGBA function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents a color object (RGB function).
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Represents an integer object reduced to [0, 255] or percent.
https://drafts.csswg.org/css-color/#rgb-functions
A broad variety of rotate transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-rotate3d
A broad variety of scale transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-scale3d
Represents a shadow object.
http://dev.w3.org/csswg/css-backgrounds/#shadow
Represents a shape object.
https://developer.mozilla.org/en-US/docs/Web/CSS/shape
Represents the angle to a side or corner of a box.
http://dev.w3.org/csswg/css-images-3/#typedef-side-or-corner
A broad variety of skew transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-skew
Represents a steps timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
Represents a string object.
https://developer.mozilla.org/en-US/docs/Web/CSS/string
Represents a converter for Stroke Dasharray property
taking many values or none.
Represents a converter for the StrokeLinecap enumeration.
Represents a converter for the StrokeLinejoin enumeration.
Represents a converter for the StrokeMiterlimit enumeration.
Represents a converter for the SystemFont enumeration.
Represents a converter for the table layout mode.
Represents a converter for the TextTAligLast enumeration.
Represents a converter for the TextAnchor enumeration.
Represents a converter for the TextDecorationLine enumeration,
taking many values or none.
Represents a converter for the TextDecorationStyle enumeration.
Represents a converter for the TextJustify enumeration.
Represents a converter for the TextTransform enumeration.
Represents a time object.
https://developer.mozilla.org/en-US/docs/Web/CSS/time
Represents a transform function.
http://www.w3.org/TR/css3-transforms/#typedef-transform-function
Represents a timing-function object.
https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function
A broad variety of translate transforms.
http://www.w3.org/TR/css3-transforms/#funcdef-translate3d
Represents a converter for the UnicodeMode enumeration.
Represents an URL object.
https://developer.mozilla.org/en-US/docs/Web/CSS/uri
Represents a converter for the VerticalAlignment enumeration.
Represents a converter for the Visibility enumeration.
Represents an integer object that only allows values \in { 100, 200, ..., 900 }.
Represents a converter for the Whitespace enumeration.
Represents a converter for the WordBreak enumeration.
Creates a new converter by assigning the given identifier to a fixed result.
Uses the provided converter for the whole value.
Creates a new boolean converter that toggles between the two given keywords.
Uses the converters in any order to convert provided values.
Uses the provided converters successively in order.