なんじゃそりゃ
https://svg-hosting.vercel.app/api/svg?url=https://scrapbox.io/api/code/suto3/なんじゃそりゃ/nj02.svg
https://svg-hosting.vercel.app/api/svg?url=https://scrapbox.io/api/code/suto3/なんじゃそりゃ/nj1.svg
code:nj1.svg
<text x="10" y="90" font-size="90" fill="white" stroke="black" stroke-width="4"
font-weight="800" letter-spacing="10" word-spacing="10" >
なんじゃそりゃ
</text>
</svg>
code:nj02.svg
<style type="text/css">
font-weight:800;
fill: white;
stroke: black;
stroke-width:4;
stroke-linecap:round;
stroke-linejoin:round;
stroke-dasharray: 600;
stroke-dashoffset: 600;
animation: textAnime 5s linear infinite;
}
/* @media (prefers-color-scheme: light) { /* */
@media (prefers-color-scheme: dark) { /* */
fill:black;
stroke:white;
}
}
@keyframes textAnime {
0% {
stroke-dashoffset: 600;
}
50% {
stroke-dashoffset: 0;
}
100% {
stroke-dashoffset: 0;
}
}
</style>
<text id="tx01" x="10" y="90" font-size="90" letter-spacing="10" word-spacing="10" >
なんじゃそりゃ
</text>
</svg>