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
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ <h2 id='box-model'>
73
73
74
74
<p>In the <i>cross axis</i>, <i>flexbox items</i> can either "flex" to fill the available space or be aligned within the space with the 'flex-align' property. If a flexbox is <i>multi-line</i>, new lines are added in the <i>cross-end</i> direction, and can similarly be aligned, centered, or distributed within the flexbox with the 'flex-line-pack' property.</p>
75
75
76
-
<p>Similar to other layout modes such as table layout, a flexbox acts like a block when placed into elements using other layout modes. Inline flexboxes act like inline-blocks.<spanclass=issue>Figure out the right terms to use here.</span></p>
76
+
<p>Similar to other layout modes such as table layout, a flexbox acts like a block when placed into elements using other layout modes. Inline flexboxes act like inline-blocks.</p>
77
77
78
78
<divclass="example">
79
79
<p>For example, the following HTML snippet declares a flexbox with a few children. The flexbox is horizontal, and the children's widths don't fill the flexbox's width, so the additional space is distributed between the children. The flexbox's height isn't explicitly specified, so it shrinks to the height of its tallest child and centers the other children within it:</p>
@@ -108,8 +108,12 @@ <h3 id='display-flexbox'>
108
108
</table>
109
109
110
110
<p>You can declare that an element is a flexbox, and thus should use flexbox layout, by setting the 'display' property on the element to the value 'flexbox' or 'inline-flexbox'.</p>
111
+
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>
111
113
112
-
<p>Flexbox establishes a new block formatting context for its content.</p>
114
+
<p>A flexbox establishes a new block formatting context for its content.</p>
115
+
116
+
<pclass='issue'>Figure out the right terms to use here.</p>
113
117
114
118
115
119
@@ -155,7 +159,7 @@ <h3 id='flex-items'>
155
159
</span>
156
160
157
161
<!-- flexbox item: block-level replaced element -->
158
-
<img id="item7">
162
+
<iframe id="item7"></iframe>
159
163
160
164
<!-- flexbox item: inline-level replaced element -->
0 commit comments