🍀소스코드
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animated Text</title>
<style>
/* 여기에 CSS 코드를 넣습니다 */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: #111;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.waviy {
position: relative;
}
.waviy span {
position: relative;
display: inline-block;
font-size: 40px;
color: #fff;
text-transform: uppercase;
animation: flip 2s infinite;
animation-delay: calc(.2s * var(--i));
}
@keyframes flip {
0%, 80% {
transform: rotateY(360deg);
}
}
</style>
</head>
<body>
<div class="waviy">
<span style="--i:1">L</span>
<span style="--i:2">o</span>
<span style="--i:3">a</span>
<span style="--i:4">d</span>
<span style="--i:5">i</span>
<span style="--i:6">n</span>
<span style="--i:7">g</span>
<span style="--i:8">.</span>
</div>
</body>
</html>