:doodle { @grid: 20 / 100vmax; background: #fff; } --hue: calc(10 + 2.5 * @row() * @col()); --light: calc(10 + 2.5 * @row() * @col()); background: hsl(var(--hue), 0%, @rand(80%,99%)); margin: -.5px; transition: @r(.5s) ease; clip-path: polygon(@pick( '0 0, 100% 0, 100% 100%', '0 0, 100% 0, 0 100%', '0 0, 100% 100%, 0 100%', '100% 0, 100% 100%, 0 100%' ));