displayLayout
Defines how element is rendered in the document.
block | inline | flex | grid | inline-flex | inline-grid | none | contentspositionLayout
Specifies positioning method.
static | relative | absolute | fixed | stickytop / right / bottom / leftLayout
Offset for positioned elements.
<length> | <percentage> | autofloatLayout
Moves element to left/right of container.
left | right | none | inline-start | inline-endclearLayout
Specifies what happens with the element next to a floated element.
none | left | right | both | inline-start | inline-endz-indexLayout
Sets stacking order of elements.
auto | <integer>overflowLayout
Controls content that overflows element box.
visible | hidden | scroll | auto | clipwidth / heightBox Model
Sets element dimensions.
<length> | <percentage> | auto | min-content | max-content | fit-contentmax-width / max-heightBox Model
Sets maximum element dimensions.
<length> | <percentage> | none | min-content | max-contentmin-width / min-heightBox Model
Sets minimum element dimensions.
<length> | <percentage> | auto | min-content | max-contentmarginBox Model
Space outside the element border.
<length> | <percentage> | auto (shorthand: top right bottom left)paddingBox Model
Space between content and border.
<length> | <percentage> (shorthand: top right bottom left)borderBox Model
Shorthand for border-width, border-style, border-color.
<border-width> || <border-style> || <color>border-radiusBox Model
Rounds corners of element border box.
<length> | <percentage> (1-4 values for corners)box-sizingBox Model
How width/height is calculated.
content-box | border-boxbox-shadowBox Model
Adds shadow effects around element frame.
<offset-x> <offset-y> <blur> <spread> <color> | inset | noneflex-directionFlexbox
Sets main axis of flex container.
row | row-reverse | column | column-reverseflex-wrapFlexbox
Whether flex items wrap onto multiple lines.
nowrap | wrap | wrap-reversejustify-contentFlexbox
Alignment along main axis.
flex-start | flex-end | center | space-between | space-around | space-evenlyalign-itemsFlexbox
Default alignment along cross axis.
stretch | flex-start | flex-end | center | baselinealign-contentFlexbox
Multi-line flex container alignment.
flex-start | flex-end | center | space-between | space-around | stretchflexFlexbox
Shorthand for flex-grow, flex-shrink, flex-basis.
none | auto | <flex-grow> <flex-shrink> <flex-basis>gapFlexbox
Space between flex/grid items.
<length> | <percentage> (row-gap column-gap)grid-template-columnsGrid
Defines columns of the grid.
none | <track-size> | repeat() | minmax() | auto-fill | auto-fitgrid-template-rowsGrid
Defines rows of the grid.
none | <track-size> | repeat() | minmax()grid-columnGrid
Shorthand for grid-column-start and grid-column-end.
<line> / <line> | span <number>grid-rowGrid
Shorthand for grid-row-start and grid-row-end.
<line> / <line> | span <number>grid-areaGrid
Named grid area or row/column shorthand.
<name> | <row-start> / <col-start> / <row-end> / <col-end>font-sizeTypography
Size of the font.
<length> | <percentage> | xx-small...xx-large | smaller | largerfont-familyTypography
Prioritized list of font family names.
<family-name> | <generic-family> (comma-separated list)font-weightTypography
Weight/boldness of the font.
normal | bold | bolder | lighter | 100β900font-styleTypography
Italic or oblique font.
normal | italic | obliqueline-heightTypography
Height of a line box.
normal | <number> | <length> | <percentage>text-alignTypography
Horizontal alignment of text.
left | right | center | justify | start | endtext-decorationTypography
Decorative lines on text.
none | underline | overline | line-through | blinktext-transformTypography
Capitalization of text.
none | uppercase | lowercase | capitalizeletter-spacingTypography
Space between characters.
normal | <length>word-spacingTypography
Space between words.
normal | <length>colorVisual
Foreground color of text and text decorations.
<color> (name, hex, rgb(), hsl(), oklch())backgroundVisual
Shorthand for all background properties.
<color> | <image> | <position> / <size> <repeat> <attachment>background-colorVisual
Background color of element.
<color> | transparentopacityVisual
Transparency of element (0β1).
<number> (0 = transparent, 1 = opaque)visibilityVisual
Shows or hides element without changing layout.
visible | hidden | collapsetransitionAnimation
Shorthand for transition properties.
<property> <duration> <easing> <delay>animationAnimation
Shorthand for animation properties.
<name> <duration> <easing> <delay> <iteration> <direction> <fill-mode>transformAnimation
Applies 2D/3D transforms.
none | translate() rotate() scale() skew() matrix()will-changeAnimation
Hints browser about expected changes for optimization.
auto | scroll-position | contents | transform | opacitycursorUI
Type of mouse cursor.
auto | default | pointer | text | move | grab | not-allowed | crosshair | ...pointer-eventsUI
Controls when element can be target of pointer events.
auto | none | all | fill | stroke | painteduser-selectUI
Controls if text can be selected.
auto | none | text | all | containoutlineUI
Outline drawn around element outside border.
<outline-width> || <outline-style> || <color> | noneresizeUI
Whether/how user can resize element.
none | both | horizontal | vertical