Documentation
CSSX utility reference
Learn how to set up CSSX, then browse the utility families, supported values, variants, and composition rules documented by the compiler.
Start here
Utility reference
Each reference page lists supported class patterns, the CSS behavior they produce, and a CSSX example.
Syntax and valuesHow CSSX parses utility strings, values, modifiers, and declarations.Display and visibilityDisplay modes, visibility, table display, and screen-reader-only helpers.General layoutColumns, breaks, overflow, object fitting, floats, and related layout behavior.Position, sizing, and aspect ratioPosition, insets, dimensions, aspect ratios, and container widths.TablesTable layout, border spacing, and caption placement.Flexbox and alignmentFlex direction, wrapping, sizing, alignment, and ordering.GridGrid templates, spans, line placement, and auto-flow.SpacingPadding, margins, gaps, and sibling spacing.TypographyFont, text, list, writing-mode, and line-clamp utilities.ColorsText, background, border, outline, SVG, and control colors.Backgrounds and gradientsBackground image, size, position, repeat, attachment, and gradients.Borders, radii, outlines, and ringsBorder widths, dividers, radii, outlines, and composable rings.Effects, filters, and masksShadows, opacity, filters, backdrop filters, and masks.Transitions, animation, and transformsTransition, keyframe animation, timeline, view-transition, and transform utilities.Interaction and form controlsCursor, pointer, selection, touch, appearance, and form-control utilities.Scrolling and scrollbarsScroll margin and padding, behavior, snap, scrollbar, and gutter utilities.SVG and forced colorsSVG paint and stroke controls, rendering hints, and forced-color behavior.Arbitrary declarationsValidated property/value syntax for one-off static declarations.Containment and renderingContent visibility, containment, intrinsic sizes, and image rendering.
