html{
background: #8D946A;
}
pattern path{
stroke: #8D946A;
}
.snake-group{
stroke: #292A18;
}
.snake{
-webkit-animation: stroke-anim 4slinearinfinite;
animation: stroke-anim 4slinearinfinite;
}
@-webkit-keyframesstroke-anim{
to {
stroke-dashoffset: 0;
}
}
@keyframesstroke-anim{
to {
stroke-dashoffset: 0;
}
}
/* Values generated from JS */
.snake{
stroke-dasharray: 32224;
stroke-dashoffset: 256;
-webkit-animation-timing-function: steps(32);
animation-timing-function: steps(32);
}
/* // */
.dot{
-webkit-animation: dot1 4ssteps(1) infinite;
animation: dot1 4ssteps(1) infinite;
}
@-webkit-keyframes dot1{
0%,
26%,
91.1% {
opacity: 1;
}
26.1%,
91%{
opacity: 0;
}
}
@keyframesdot1{
0%,
26%,
91.1% {
opacity: 1;
}
26.1%,
91% {
opacity: 0;
}
}
.dot-2{
-webkit-animation-name: dot2;
animation-name: dot2;
}
@-webkit-keyframes dot2{
0%,
26%,
51%,
100% {
opacity: 0;
}
26.1%,
50%{
opacity: 1;
}
}
@keyframesdot2{
0%,
26%,
51%,
100% {
opacity: 0;
}
26.1%,
50% {
opacity: 1;
}
}
.dot-3{
-webkit-animation-name: dot3;
animation-name: dot3;
}
@-webkit-keyframes dot3{
0%,
50%,
92%,
100% {
opacity: 0;
}
50.1%,
92%{
opacity: 1;
}
}
@keyframesdot3{
0%,
50%,
92%,
100% {
opacity: 0;
}
50.1%,
92% {
opacity: 1;
}
}
svg{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
max-width: 144px;
max-height: 90vh;
}
class="snake-group"
stroke-linejoin="miter"
stroke-linecap="square"
stroke-width="8"
fill="none">
d="M0 16 h48 v16 H32 v32 H0 V48 h16 V0 H0 v16"/>