File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1518,6 +1518,13 @@ The 'flex' Shorthand</h3>
1518
1518
If a box is not a <a>flex item</a> ,
1519
1519
'flex' has no effect.
1520
1520
1521
+ Note: The initial values of the 'flex' longhands are equivalent to
1522
+ <a class="css-code" href="#flex-initial">flex: 0 1 auto</a> .
1523
+ This differs from their defaults when omitted in the 'flex' shorthand
1524
+ (effectively ''1 1 0px'' )
1525
+ so that the 'flex' shorthand can better accommodate
1526
+ <a href="#flex-common">the most common cases</a> .
1527
+
1521
1528
<dl dfn-type=value dfn-for=flex>
1522
1529
<dt> <dfn><<'flex-grow'>></dfn>
1523
1530
<dd>
@@ -1648,12 +1655,6 @@ The 'flex' Shorthand</h3>
1648
1655
</figcaption>
1649
1656
</figure>
1650
1657
1651
- The initial values of the 'flex' components are equivalent to <a class="css-code" href="#flex-initial">flex: 0 1 auto</a> .
1652
-
1653
- Note: The initial values of 'flex-grow' and 'flex-basis'
1654
- are different from their defaults when omitted in the 'flex' shorthand.
1655
- This is so that the 'flex' shorthand can better accommodate the most <a href="#flex-common">common cases</a> .
1656
-
1657
1658
A unitless zero that is not already preceded by two flex factors
1658
1659
must be interpreted as a flex factor.
1659
1660
To avoid misinterpretation or invalid declarations,
You can’t perform that action at this time.
0 commit comments