Bada
Bada's Coding

Bada's Coding

'flex-grow' Is Affected by Texts in Items

Bada's photo
Bada
·Sep 28, 2022·

1 min read

Please check the example below first.

In the above example, the difference between '1' and '1a' makes the widths of the items different.

To keep a same ratio, we can use percentage.

 
Share this