Skip to main content

Module alignment

Module alignment 

Source
Expand description

Generic CSS alignment code that is shared between both the Flexbox and CSS Grid algorithms.

Functionsยง

apply_alignment_fallback ๐Ÿ”’
Resolve any spec-defined fallbacks for the given AlignContent value, returning the bare position keyword the alignment math should use.
compute_alignment_offset ๐Ÿ”’
Generic alignment function that is used: