HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>We didn’t tell you about something in the<a>previous assignment</a>. In fact, the basic size is not just the size of the item along the main axis. Rather, it is the<em>initial</em>or <em>original</em>size along this axis.</p>
1 <p>We didn’t tell you about something in the<a>previous assignment</a>. In fact, the basic size is not just the size of the item along the main axis. Rather, it is the<em>initial</em>or <em>original</em>size along this axis.</p>
2 <p>Why are these<em>initial</em>or <em>original</em>sizes so important?</p>
2 <p>Why are these<em>initial</em>or <em>original</em>sizes so important?</p>
3 <p>Again, we should state that it all depends on the mechanism that is used to redistribute free space in the flexbox.</p>
3 <p>Again, we should state that it all depends on the mechanism that is used to redistribute free space in the flexbox.</p>
4 <p>If there is still free space inside the flex container along the main axis, we can ask the flex item to increase in size in order to occupy this space. We can do this using the flex-grow property, which we can term the “flex-greed factor” of the flex item.</p>
4 <p>If there is still free space inside the flex container along the main axis, we can ask the flex item to increase in size in order to occupy this space. We can do this using the flex-grow property, which we can term the “flex-greed factor” of the flex item.</p>
5 <p>The flex-grow property accepts non-negative integer values, and its default value is 0.</p>
5 <p>The flex-grow property accepts non-negative integer values, and its default value is 0.</p>
6 <p>If the value of flex-grow is equal to zero, then the flex item will not try to occupy the remaining free space in the flex container, meaning that it will not increase in size.</p>
6 <p>If the value of flex-grow is equal to zero, then the flex item will not try to occupy the remaining free space in the flex container, meaning that it will not increase in size.</p>
7 <p>If the flex-grow value is greater than zero, then the flex item will increase in size in order to take over any remaining free space.</p>
7 <p>If the flex-grow value is greater than zero, then the flex item will increase in size in order to take over any remaining free space.</p>
8 <p>It turns out the basic size is the same as the original size of the flex items before flex-grow is applied.</p>
8 <p>It turns out the basic size is the same as the original size of the flex items before flex-grow is applied.</p>