I'm using flex
to create even columns and vh
to make them the same height. That's working fine but inside the columns I can have an x number of items in them. I'd like for elements in each column to be even height depending on how many items are present (using css).
1 = 100% 2 = 50% 3 = 33.33% etc.
I know I can do this through JS but I'd like to automate this through css via flex, grid, or something elese.