Kevin Powell - CommunityKP-C
Kevin Powell - Community17mo ago
23 replies
snxxwyy

forcefully make items wrap with flex-wrap

Hey, it's been a while since i've taken a look at anything frontend related, so i'd like to double check something.

given that you have some items in a flex container with flex-wrap applied:

1. If you wanted to make a specific item wrap at a certain point/width, what would be the best practice for that again? i believe giving the item a min-width could cause problems as there's no value you could put that wouldn't potentially cause overflow? Unless that was the right method?

2. Following the previous question, if i wanted the items to begin wrapping/collapsing in general at a certain point, what would be the best practice for that one?

Thank you in advance.
Was this page helpful?