Skip to content

Commit 2f4feff

Browse files
committed
Fix: Issue #37597
Fix: #37597 Fix: Issue #37597
1 parent 8f4599c commit 2f4feff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/en-us/web/css/flex-basis/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ This example demonstrates the difference between a `flex-basis` of `0` versus a
176176

177177
#### HTML
178178

179-
We include two same-structure flex containers. These which will be styled similarly, except for their `flex-basis` values. The containers each have two children: a heading `<div>` and a `<section>`. The `<section>` element has a content `<div>` child, which will not be set as a flex item but will be given a height.
179+
We include two same-structure flex containers, which will be styled similarly except for their `flex-basis` values. The containers each have two children: a heading `<div>` and a `<section>`. The `<section>` element has a content `<div>` child, which will not be set as a flex item but will be given a height.
180180

181181
```html
182182
<div class="container basis-0">
@@ -197,7 +197,7 @@ We include two same-structure flex containers. These which will be styled simila
197197

198198
#### CSS
199199

200-
We style the containers as inline flex containers that will appear side by side to better enable comparing them. We set the `flex-direction` to the column. The first container's flex items have a `flex-basis` value of `0` and the second container's flex item have a `flex-basis` value of `0%`. Neither the flex containers nor their flex items have a height explicitly set, but the heights of `section` elements can not exceed `200px` and their children have height `300px`.
200+
We style the containers as inline flex containers that will appear side by side to better enable comparing them. We set the `flex-direction` to `column`. The first container's flex items have a `flex-basis` value of `0`, while the second container's flex items have a `flex-basis` value of `0%`. Neither the flex containers nor their flex items have a height explicitly set, but the heights of `section` elements cannot exceed `200px`, and their children have a height of `300px`.
201201

202202
```css
203203
.container {

0 commit comments

Comments
 (0)