Types
The type of values that are to be computed by the browser (<calc()>
)
A type that maps to the cubic-bezier()
subset of CSS's <easing-function>
.
A type that maps to CSS's <gradient>
type.
A type that maps to CSS's <length>
type.
A type that maps to the steps()
subset of CSS's <easing-function>
.
A type that maps to CSS's <transform-function>
type.
Type aliases
Value constructors
Constructs a value of type CubicBezierFunction
.
Constructs a value of type Env
. This functions maps to CSS's env()
Constructs a value of type Gradient<linear-gradient>
. This function maps to CSS's linear-gradient()
Constructs a value of type Gradient<radial-gradient>
. This function maps to CSS's radial-gradient()
Constructs a value of type Gradient<repeat-linear-gradient>
. This function maps to CSS's repeat-linear-gradient()
Constructs a value of type Gradient<repeat-radial-gradient>
. This function maps to CSS's repeat-radial-gradient()
Constructs a value of type HSL
.
Constructs a value of type HSLA
.
Constructs a value of type Image
where the unit is mm
.
Constructs a value of type Position
.
Constructs a value of type RGB
.
Constructs a value of type RGBA
.
Constructs a value of type StepsFunction
.
Constructs a value of type TransformFunction<'matrix'>
.
Constructs a value of type TransformFunction<'matrix3d'>
.
Constructs a value of type TransformFunction<'perspective'>
.
Constructs a value of type TransformFunction<'rotate'>
.
Constructs a value of type TransformFunction<'rotate3d'>
.
Constructs a value of type TransformFunction<'rotateX'>
.
Constructs a value of type TransformFunction<'rotateY'>
.
Constructs a value of type TransformFunction<'rotateZ'>
.
Constructs a value of type TransformFunction<'scale'>
.
Constructs a value of type TransformFunction<'scale3d'>
.
Constructs a value of type TransformFunction<'scaleX'>
.
Constructs a value of type TransformFunction<'scaleY'>
.
Constructs a value of type TransformFunction<'scaleZ'>
.
Constructs a value of type TransformFunction<'skew'>
.
Constructs a value of type TransformFunction<'skewX'>
.
Constructs a value of type TransformFunction<'skewY'>
.
Constructs a value of type TransformFunction<'translate'>
.
Constructs a value of type TransformFunction<'translate3d'>
.
Constructs a value of type TransformFunction<'translateX'>
.
Constructs a value of type TransformFunction<'translateY'>
.
Constructs a value of type TransformFunction<'translateZ'>
.
Properties
Maps to CSS's align-content
property
Maps to CSS's align-items
property
Maps to CSS's align-self
property
Maps to CSS's animation
property
Maps to CSS's animation-delay
property
Maps to CSS's animation-direction
property
Maps to CSS's animation-duration
property
Maps to CSS's animation-fill-mode
property
Maps to CSS's animation-iteration-count
property
Maps to CSS's animation-name
property
Maps to CSS's animation-play-state
property
Maps to CSS's animation-timing-function
property
Maps to CSS's backface-visibility
property
A RB property that maps to CSS's background-attachment
property
Maps to CSS's background-clip
property
Maps to CSS's background-origin
property
Maps to CSS's background-repeat
property. The implemenation omits single keywords
and enforces tuples. To use "repeat-x" use repeat, no-repeat, for "repeat-y" use no-repeat, no-repeat
A RB property that maps to CSS's background-size
property
Maps to CSS's background-color
property
A RB property that maps to CSS's background-image
property
A RB property that maps to CSS's background-position
property
Maps to CSS's border-bottom-color
property
Maps to CSS's border-bottom
property
Maps to CSS's border-bottom-left-radius
property
Maps to CSS's border-bottom-right-radius
property
Maps to CSS's border-bottom-style
property
Maps to CSS's border-bottom-width
property
Maps to CSS's border-collapse
property
Maps to CSS's border-image
property
A RB property that maps to CSS's border-image-outset
property
A RB property that maps to CSS's border-image-repeat
property
A RB property that maps to CSS's border-image-slice
property
A RB property that maps to CSS's border-image-source
property
A RB property that maps to CSS's border-image-width
property
Maps to CSS's border-left-color
property
Maps to CSS's border-left
property
Maps to CSS's border-left-style
property
Maps to CSS's border-left-width
property
Maps to CSS's border-radius
property
Maps to CSS's border-right-color
property
Maps to CSS's border-right
property
Maps to CSS's border-right-style
property
Maps to CSS's border-right-width
property
Maps to CSS's border-spacing
property
Maps to CSS's border-top-color
property
Maps to CSS's border-top
property
Maps to CSS's border-top-left-radius
property
Maps to CSS's border-top-right-radius
property
Maps to CSS's border-top-style
property
Maps to CSS's border-top-width
property
Maps to CSS's bottom
property
Maps to CSS's box-shadow
property
Maps to CSS's break-after
property
Maps to CSS's break-before
property
Maps to CSS's break-inside
property
Maps to CSS's display
property
Maps to CSS's flex-direction
property
Maps to CSS's font-family
property
Maps to CSS's font-kerning
property
Maps to CSS's font-optical-sizing
property
Maps to CSS's font-size-adjust
property
Maps to CSS's font-size
property
Maps to CSS's font-stretch
property
Maps to CSS's font-style
property
Maps to CSS's font-synthesis
property
Maps to CSS's font-synthesis-small-caps
property
Maps to CSS's font-synthesis-style
property
Maps to CSS's font-synthesis-weight
property
Maps to CSS's font-variant-caps
property
Maps to CSS's font-variant-emoji
property
Maps to CSS's font-variant-ligatures
property
Maps to CSS's font-variant-numeric
property
Maps to CSS's font-variant-position
property
Maps to CSS's font-variation-settings
property
Maps to CSS's justify-content
property
Maps to CSS's justify-items
property
Maps to CSS's left
property
Maps to CSS's letter-spacing
property
Maps to CSS's line-height
property
Maps to CSS's list-style
property
Maps to CSS's list-style-image
property
Maps to CSS's list-style-position
property
Maps to CSS's list-style-type
property
Maps to CSS's margin
property
Maps to CSS's margin-left
and margin-right
properties.
If a pair (a tuple of two elements) is provided then the values in it
will be mapped to margin-left
and margin-right
respectively. Otherwise
the provided value will be used for both.
Maps to CSS's margin-top
and margin-bottom
properties.
If a pair (a tuple of two elements) is provided then the values in it
will be mapped to margin-top
and margin-bottom
respectively. Otherwise
the provided value will be used for both.
Maps to CSS's max-height
property
Maps to CSS's max-width
property
Maps to CSS's min-height
property
Maps to CSS's min-width
property.
Maps to CSS's object-fit
property
Maps to CSS's outline-color
property
Maps to CSS's outline-width
property
Maps to CSS's overflow
property
Maps to CSS's padding-bottom
property
Maps to CSS's padding
property.
Maps to CSS's padding-right
property
Maps to CSS's padding-left
and padding-right
properties.
If a pair (a tuple of two elements) is provided then the values in it
will be mapped to padding-left
and padding-right
respectively. Otherwise
if a single value of type LengthPercentage
is provided then it will be used for both.
Maps to CSS's padding-top
and padding-bottom
properties.
If a pair (a tuple of two elements) is provided then the values in it
will be mapped to padding-top
and padding-bottom
respectively. Otherwise
if a single value of type LengthPercentage
is provided then it will be used for both.
Maps to CSS's perspective
property
Maps to CSS's perspective-origin
property
Maps to CSS's position
property
Maps to CSS's right
property
Maps to CSS's text-align
property
Maps to CSS's text-emphasis-color
property
Maps to CSS's text-emphasis-position
property
Maps to CSS's text-emphasis-skip
property
Maps to CSS's text-group-align
property
Maps to CSS's text-justify
property
Maps to CSS's text-orientation
property
Maps to CSS's text-transform
property
Maps to CSS's text-underline-position
property
Maps to CSS's text-underline-position
property
Maps to CSS's text-wrap
property
Maps to CSS's top
property
Maps to CSS's transform-box
property
Maps to CSS's transform
property
Maps to CSS's transform-origin
property.
If a pair is provided, it represents x-offset and y-offset in order, If a triple
is provided it represents x-offset, y-offset and z-offset in order.
Maps to CSS's transform-style
property
Maps to CSS's transition
property
Maps to CSS's transition-delay
property
Maps to CSS's transition-duration
property
Maps to CSS's transition-property
property
Maps to CSS's transition-timing-function
property
Maps to CSS's unicode-bidi
property
Maps to CSS's user-select
property
Maps to CSS's vertical-align
property
Maps to CSS's visibility
property
Maps to CSS's voice-stress
property
Maps to CSS's white-space
property
Maps to CSS's will-change
property
Maps to CSS's word-spacing
property
Maps to CSS's writing-mode
property
Maps to CSS's justify-self
property