3 ms·
I'm still confused with flex-grow (step 28). When I set the value of an item to 2 while the other items remain at 1, it increase in width a little bit but not n
by mjrpes 12y ago
I'm still confused with flex-grow (step 28). When I set the value of an item to 2 while the other items remain at 1, it increase in width a little bit but not nearly twice as much (relative to the others). What does 2 actual do here?
Chrome 41.0.2272.76 m
- Excavator 12y agoAs I recall it, the available space is divided by the sum. So in this case the width for "2" would be: 2 * (available_width / (1 * other_items + 2))