CSS justify-items Property Reference

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

CSS justify-items Property Reference

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

Updated 2026-08-12

justify-items overview

The CSS justify-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

justify-items formal syntax
FieldValue
Formal syntaxnormal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center
Initial valuelegacy
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Box Alignment
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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