:doodle { @grid: 20x500 / 100vw 100vh; margin: .11px; } :after { content: \@hex(@rand(64444, 6888)); color: #000; opacity: @p(1, 1); font-size: @rand(.9em, 6em); text-shadow: @p(-2px, 2px) @p(-2px, 2px) @p(rgba(25,0,0, @rand(0, 1)), rgba(1,255,0, @rand(0, 1)), rgba(0,0,255, @rand(0, 1))); animation: move @r(1s, .1s) linear infinite; animation-delay: [email protected](1s); } @keyframes move { from { transform: translate(-100%); } to { transform: translate(100%); } }