← Back to release summary

display:inline-grid/grid/inline-flex/flex for <button>

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 83)
Intent stage
Evaluate readiness to ship

WPT details: https://wpt.fyi/results/html/rendering/widgets/button-layout?label=master&label=experimental&aligned See flex.html and grid.html.

Summary

The 'display' keywords 'inline-grid', 'grid', 'inline-flex', and 'flex' property will now function with <button> when align item is applied.

Motivation

Standards & signals

Ecosystem

Samples: https://codepen.io/jpmedley/pen/MWwmoQE

View on chromestatus.com