console
<svg viewBox="0 0 600 300">
<symbol id="s-text">
<text text-anchor="middle" x="50%" y="50%" dy=".35em">SVG IS GOOD !</text>
</symbol>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
<use class="text" xlink:href="#s-text"></use>
</svg>
html, body {
height: 100%;
}
body {
background: #111;
margin: 0;
}
svg {
position: absolute;
width: 100%;
height: 100%;
}
.text {
font-size: 80px;
fill: none;
stroke-width: 3;
stroke-linejoin: round;
stroke-dasharray: 70 330;
stroke-dashoffset: 0;
animation: stroke 10s infinite linear;
}
.text:nth-child(5n + 1) {
stroke: #F2385A;
animation-delay: -2s;
}
.text:nth-child(5n + 2) {
stroke: #F5A503;
animation-delay: -4s;
}
.text:nth-child(5n + 3) {
stroke: #E9F1DF;
animation-delay: -6s;
}
.text:nth-child(5n + 4) {
stroke: #56D9CD;
animation-delay: -8s;
}
.text:nth-child(5n + 5) {
stroke: #3AA1BF;
animation-delay: -10s;
}
@keyframes stroke {
100% {
stroke-dashoffset: -400;
}
}