Welcome to the Treehouse Community
Looking to learn something new?
Why flex-grow is not working?
Hi, at the breakpoint on 769 px I want the columns to take the same amount of space so in the flexbox.css in the media query I put the commend flex-grow: 1; for both of the columns. Why it's not working? https://w.trhou.se/wh0q9nhayf
Steven Parker221,500 Points
The default flex-basis (auto) adjusts the widths to take up the least vertical space. Try setting a fixed value (0, for example) for flex-basis to make the widths even.
You could also use the shorthand "
flex: 1" instead of "
flex-grow: 1" to set them both at once.