:doodle {
@grid: 10 / 100vmax;
}
background: @pick(rgba(244, 208, 234, 0.7), rgba(170, 229, 254, 0.7));
clip-path: polygon(@rand(50%) 0, 50% @rand(70%), 0 @rand(100%));
opacity: 0.2;
animation: test infinite @r(100s, 150s) linear;
@keyframes test {
0% {
transform: translate3d(0, 0, 0);
}
50% {
transform: translate3d(@r(-500%, 1000%), @r(-500%, 1000%), 0);
}
100% {
transform: translate3d(0, 0, 0);
}
}