Category: CSS

May 13, 2024

Instead of using percentages to set the elements width in accordance with the amount of containers you want for a row in the flexbox, you can use calc() to divide by the number of containers you want per row. Your HTML might then look like: https://jsfiddle.net/lunatiqorg/5wdx7osf/7