The CSS Box Alignment spec defines a special syntax for the justify-items CSS property so that it's possible to implement the legacy alignment behavior of HTML’s <center> element and align attribute. In order to declare an element to use this kind of alignment, a new CSS value has been defined: 'legacy'.

Specification

Editor's draft

Status in Chromium

Blink>CSS


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2020-11-19