- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Using flexbox I have dynamic tiles, it could be none or many .
How do I get the items to stretch evenly in the row space until after Item 6 with item 7 wrapping to the next row.
No matter the viewport size i never want the row to wrap at item 6 or less.
Here are some potential solutions (just Google something like “flex wrap after certain number” for more):
https://stackoverflow.com/questions/29546550/how-to-force-a-flex-box-to-display-4-items-per-row
https://stackoverflow.com/questions/29732575/line-break-in-multi-line-flexbox
One from Chris https://codepen.io/chriscoyier/pen/yCeax
thx
Here are some solutions (just Google “flex wrap after certain number” for more):
https://stackoverflow.com/questions/29546550/how-to-force-a-flex-box-to-display-4-items-per-row
https://stackoverflow.com/questions/29732575/line-break-in-multi-line-flexbox
https://www.fourkitchens.com/blog/article/responsive-multi-column-lists-flexbox/