Proportional adjustment of CSS grid gap when resizing
I would like to create a collage with predefined fields and a fixed aspect ratio. The border and the grid gap should adapt dynamically to the size of the collage (should not always correspond to the viewport width). Percentage gap values are known to cause problems:
How to Allow Grid Text to Flow to the Next Row
As you can see in the grid below, I have two rows. The first row contains an element and text, while the second row is just text: