CSS place-items Property Reference

The CSS place-items property is a standard property in CSS Box Alignment. Review its formal syntax, computed behavior, and practical declarations.

CSS place-items Property Reference

The CSS place-items property is a standard property in CSS Box Alignment. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

place-items overview

The CSS place-items property is a standard property in CSS Box Alignment. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

place-items formal syntax
FieldValue
Formal syntax<'align-items'> <'justify-items'>?
Initial valuealign-items, justify-items
Applies toallElements
InheritedNo
Percentagesno
Computed valuealign-items, justify-items
Animation typediscrete
Mediavisual
Specification groupCSS Box Alignment
StatusStandard

Practical examples

These declarations demonstrate valid ways to set place-items. The initial and inherit global keywords remain available even when a property-specific value is preferable.

place-items live example
CSS .reset-example { place-items: initial; } .inherit-example { place-items: inherit; } @supports (place-items: initial) { .supported { place-items: initial; } }

Description

The CSS place-items property is a standard property in CSS Box Alignment. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: place-items
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies