I would like to have container, that satisfies following conditions:
- it has 2 rows and unlimited amount of columns
- all items inside it are one-word text elements, that have their width
- all items inside it are equal width, defined by the widest element (longest word)
I was thinking about using a flexbox. Since all of the items have known height (because they are one line of text), I can define wrappable container like this:
display: flex;
flex-flow: column wrap;
height: 100px;
All items inside the same column are equal in width. But I want all of the items have the same width. Should I use grid? If yes, how?