← Back to release summary

'display' property with multiple values

Category
CSS
Type
Chromium catches up
Status
Enabled by default (Chrome 115)
Intent stage
Start prototyping

WPT details: https://wpt.fyi/results/css/css-display/parsing/display-valid.html

Summary

CSS 'display' property supports two or three keywords. Web authors can specify - How the box and its neighbor boxes are located; inline or block - How children of the box are laid out; flow, flex, grid, etc. separately. For example, `display: inline flow` instead of `display: inline-block` `display: block flex` instead of `display: flex`

Standards & signals

Ecosystem

Docs: https://developer.mozilla.org/ja/docs/Web/CSS/display

View on chromestatus.com