CSS align-content Property Reference

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

CSS align-content Property Reference

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

Updated 2026-08-12

align-content overview

The CSS align-content 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

align-content formal syntax
FieldValue
Formal syntaxnormal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>
Initial valuenormal
Applies toblockContainersMultiColumnContainersFlexContainersGridContainers
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Box Alignment
StatusStandard

Practical examples

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

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

Description

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

References

  1. MDN: align-content
  2. MDN: CSS Properties Reference

Similar or alternative tools

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