Flex 1
Can someone explain how does an element with flex 1 and another element with 320px begin to wrap next line?
7 Replies
Like I understand if the left side had an width or basis of 300px , it would wrap next line but what causes an element with flex-basis:0% to wrap next line
doesn't
flex: 1
set flex-grow
to 1?yes
anyone ?
can you show it running somewhere?
https://rabbit-api-two.vercel.app/
feel free
i don't see anything wrong with it
I wanted to know what determines the minimum width of the left side that it begins to wrap to next line ,it doesnt have any width defined , only the right one has width of 320px
oh I got it
The button has a min width