Responsive dynamic columns with css

Hello, everyone I have a page where user can add or remove columns. It may be up to 6 columns. All of them should fit in a screen without wrapping. I want them to take equal space of a screen. For example, when user has 2 columns - each should be 50% - gaps, with 4 columns - 25% - gaps. How would you do it?
1 Reply
Jochem
Jochem2w ago
Flex box

Did you find this page helpful?