flex wrap behind the hood
Hey, so i created a post a while ago asking how flex wrap calculated when to wrap items. I was told that items wrap based off of their ideal size (flex-basis or width. If none set then intrinsic size) and that the items wrap when their final size (content size + width given by flex grow) = content size.
I recently saw on an article that they begin to wrap when the flex items sum total flex basis is larger than the container width.
I'm a little confused now on how this functions. I'd appreciate if anyone could help me clear this up. Thanks in advance
I recently saw on an article that they begin to wrap when the flex items sum total flex basis is larger than the container width.
I'm a little confused now on how this functions. I'd appreciate if anyone could help me clear this up. Thanks in advance
