:doodle { @grid: 10 / 100%; @shape: cross, 10; } transition: .5s cubic-bezier(.175, .885, .32, 1.275); transition-delay: @rand(500ms); @odd { @shape: cross; background: #1f1f1f; transform: scale(@rand(.5)) rotate(-@rand(160deg)); } @even { @shape: hypocycloid, @rand(6); background: hsl(@rand(360), 80%, 50%); transform: scale(@rand(3)) rotate(-@rand(160deg)); }