Is it possible to create a CSS layout with grid where items only take up the height needed by their content, instead of the height of the tallest item?
Check out this example on CodePen
In the provided sample, I am aiming for the div2
element to have a height relative to its content.