New CSS feature!

New CSS feature!


CSS

Align-content for block elements

Previously limited to flex and grid layouts, the align-content property from CSS Box Alignment can now be applied to block and table layouts. This provides more control over how content is aligned within the block direction of these layout types.

See the Pen Untitled by Anthony (@BuiltInOneDay) on CodePen.

Browser Support:

caniuse.com for align-content https://caniuse.com/mdn-css_properties_align-content

© 2025 Anthony Ellsworth