Expand description
Property-input composite value types.
Some CSS properties accept a value Lynx does not document as a
standalone data type — e.g. width accepts a <length-percentage>,
auto, max-content, or a fit-content() function. Modeling
that mixture cleanly requires a Rust enum that gathers the
allowed forms in one place. Those enums live here so each
property method on Css can declare a precise
argument type.
Structs§
- Border
Radius - Value for the
border-radiusshorthand. Stores per-corner radii, optionally with an elliptical second axis. - BoxShadow
- One structured
box-shadowlayer. - Clip
Point - One point in a structured clip path.
- Grid
Area - One rectangular named region in
grid-template-areas. - Grid
Template - Value for
grid-template-rows/grid-template-columns. - Grid
Template Areas - Rectangular named regions for
grid-template-areas. - Grid
Track - One CSS Grid track sizing function.
- Inset
Path - A typed
inset()motion path. - Motion
Path Point - One absolute point in an
offset-path: path()value. - Repeated
- Comma-separated list of values, used for properties like
animation-name,transition-property,background-image.
Enums§
- Backdrop
Filter - Supported value of
backdrop-filter. - ClipBox
- Reference box used by a structured clip path.
- Clip
Fill Rule - Fill rule used by a clip path.
- Clip
Path - Typed
clip-pathvalue. - Clip
Path Command - One command in a structured clip path.
- Flex
Basis - Value for
flex-basis. - Grid
Line - Value for
grid-row-start,grid-row-end,grid-column-start,grid-column-end. Lynx accepts numeric line references andspan <integer>. - Grid
Repeat Count - Count used by a Grid
repeat()fragment. - Grid
Template Component - One explicit track or repeated track fragment.
- Grid
Track Max - Maximum sizing function accepted by
minmax(). - Grid
Track Min - Minimum sizing function accepted by
minmax(). - Image
Ref - A reference to an image resource. Lynx accepts
url("..."),linear-gradient(...), andradial-gradient(...).conic-gradientis supported on background-image but represented viacrate::Gradient. - Line
Height - Value for
line-height. - Motion
Path Command - One command in an absolute SVG
offset-path: path()value. - Offset
Distance - Supported
offset-distancevalue. - Offset
Path - Supported
offset-pathvalue. - Offset
Rotate - Supported
offset-rotatevalue. - Size
- Value for
width,height,min-width,min-height,max-width,max-height. - Vertical
Alignment - A keyword or signed distance for
vertical-align.