You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-flexbox/Overview.src.html
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ <h3 id='display-flexbox'>
111
111
112
112
<p>The ''flexbox'' value makes the flexbox act like a block in other layout modes. The ''inline-flexbox'' value makes the flexbox act like an inline-block in other layout modes.</p>
113
113
114
-
<p>Setting ''display:flexbox'' on an element forces it to use a new layout algorithm, and so some properties that were designed with the assumption of block layout don't make sense in a flexbox context. In particular:</p>
114
+
<p>Flexboxes use a new layout algorithm, and so some properties that were designed with the assumption of block layout don't make sense in a flexbox context. In particular:</p>
115
115
116
116
<ul>
117
117
<li>all of the 'column-*' properties in the Multicol module compute to their initial values on a flexbox ('break-before', 'break-inside', and 'break-after' are still valid on a flexbox).</li>
@@ -121,7 +121,7 @@ <h3 id='display-flexbox'>
121
121
<li>'vertical-align' has no effect on a flexbox item</li>
122
122
</ul>
123
123
124
-
<p>A flexbox item creates a new flexbox formatting context for its contents. This is similar to a block formatting context: floats must not intrude into the flexbox, and the flexbox's margins do not collapse with any other margin. Additionally, all of the <i>flexbox items</i> establish new block formatting contexts for their contents.</p>
124
+
<p>A flexbox creates a new flexbox formatting context for its contents. This is similar to a block formatting context: floats must not intrude into the flexbox, and the flexbox's margins do not collapse with the margins of its contents. Additionally, all of the <i>flexbox items</i> establish new block formatting contexts for their contents.</p>
125
125
126
126
<pclass='issue'>Figure out the right terms to use here.</p>
127
127
@@ -490,7 +490,7 @@ <h3 id='flex-pack'>
490
490
<td>visual
491
491
</table>
492
492
493
-
<p>The 'flex-pack' property aligns <i>flexbox items</i> in the <i>main axis</i> of the current line of the flexbox. This is done <em>after</em> any flexible lengths have been resolved. Typically it helps distribute extra free space leftover when either all the <i>flexbox items</i> on a line are inflexible, or are flexible but have reach their maximum size, but it also exerts some control over the alignment of items when they overflow the line.</p>
493
+
<p>The 'flex-pack' property aligns <i>flexbox items</i> in the <i>main axis</i> of the current line of the flexbox. This is done <emtitle=''>after</em> any flexible lengths have been resolved. Typically it helps distribute extra free space leftover when either all the <i>flexbox items</i> on a line are inflexible, or are flexible but have reach their maximum size, but it also exerts some control over the alignment of items when they overflow the line.</p>
494
494
495
495
<dl>
496
496
<dt><dfnid='flex-pack-start'>start</dfn></dt>
@@ -541,13 +541,13 @@ <h3 id='flex-align'>
541
541
<p>The 'flex-align' property aligns <i>flexbox items</i> in the <i>cross axis</i> of the current line of the flexbox, similar to 'flex-pack' but in the perpendicular axis. Note that 'flex-align' applies to individual <i>flexbox items</i>, while 'flex-pack' applies to the flexbox itself.</p>
542
542
543
543
<dl>
544
-
<dt><dfnid="flex-align-before">before</dfn></dt>
544
+
<dt><dfnid="flex-align-start">start</dfn></dt>
545
545
<dd>The <i>cross-start</i> margin edge of the <i>flexbox item</i> is placed flush with the <i>cross-start</i> edge of the line.</dd>
546
546
547
-
<dt><dfnid="flex-align-after">after</dfn></dt>
547
+
<dt><dfnid="flex-align-end">end</dfn></dt>
548
548
<dd>The <i>cross-end</i> margin edge of the <i>flexbox item</i> is placed flush with the <i>cross-end</i> edge of the line.</dd>
549
549
550
-
<dt><dfnid="flex-align-middle">middle</dfn></dt>
550
+
<dt><dfnid="flex-align-center">center</dfn></dt>
551
551
<dd>The <i>flexbox item's</i> margin box is centered in the <i>cross axis</i> within the line.</dd>
0 commit comments