re: Learn CSS Flexbox in 5 Minutes VIEW POST

re: When you demonstrate making the search item take up more space, you set it to flex: 1, which is the same as it is already (from .container > div...

You have to replace the rule that came before it. So delete .container > div and target the search item with a class name. Also it might be worth considering that you won't see much of a difference on smaller screen sizes or with narrower flex containers.
I put together a visual explanation on Codepen to try and help to explain things and give working demos for you to see the effect in action.

Hope this helps!

code of conduct - report abuse