I would like to create a two-column layout (CSS only, no javascript).
There are several requirements that make this difficult:
- The container starts at a certain height (e.g.
200px) - There are two columns
- Items fill column 1, then if more space is required fill column 2.
- If column 1 and column 2 are full, then expand the height of the container.
A detailed example is here .
Bad

Good
Elements first fill column 1:

Then the elements fill column 2:

When the minimum height of the container is reached, the container expands and the elements are aligned between two columns:
