Want to share your CSS expertise with others? Apply to the MDN Fellowship by April 1! http://mzl.la/MDNFellowship

mozilla

Compare Revisions

justify-content

Change Revisions

Revision 338081:

Revision 338081 by teoli on

Revision 338083:

Revision 338083 by teoli on

Title:
justify-content
justify-content
Slug:
CSS/justify-content
CSS/justify-content
Tags:
"css", "CSS3", "CSS Reference", "css3-flexbox"
"css", "CSS3", "CSS Reference", "css3-flexbox"
Content:

Revision 338081
Revision 338083
t14      The <a href="/en-US/docs/CSS" title="CSS">CSS</a> <code>just14      The <a href="/en-US/docs/CSS" title="CSS">CSS</a> <code>jus
>tify-content</code> property aligns flex items in the main-axis o>tify-content</code> property defines how a browser distribute ava
>f the current line. The alignment is done after the lengths and a>ilable space between and around element when aligning flex items 
>uto margins are applied.>in the main-axis of the current line. The alignment is done after
 > the lengths and auto margins are applied, meaning that, if there
 > is at least one flexible element, with {{cssxref("flex-grow")}} 
 >different than <code>0</code>, it will have no effect as there wo
 >n't be any available space.

Back to History