DEV Community

Discussion on: Learn CSS Flexbox in 5 Minutes

Collapse
 
opeala profile image
Jack Ellis

Hi Ben,

I believe in the example of making the .search take up remaining space, you just need to turn off the .container > div styling so that flex: 1; only applies to .search and not all divs within .container.

Hope this helps/makes sense!:-)

Many thanks, Jack.