:doodle { @grid: 50 x 50 / 50vmax 50vmin; overflow: hidden; } :container { grid-template-rows: auto; grid-template-columns: repeat(auto-fill, 1vmin); grid-auto-flow: dense; grid-auto-rows: 1vmin; } --span: @rand(3); grid-column-end: span var(--span); grid-row-end: span var(--span); transform: rotate(@rand(-5deg,5deg)); background-color: hsla( calc(80 * @index()), 90%, 70%, calc(3 / @rand(1,20) ) );

Piaras Hoban