CSS 애니메이션 그라디언트 효과
움직이는 배경 그라디언트와 텍스트 그라디언트 마스킹 효과가 포함된 시각적 컴포넌트입니다.
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
overflow: hidden;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Arial Black', sans-serif;
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradientBackground 15s ease infinite;
}
@keyframes gradientBackground {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.glass-container {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 60px;
border-radius: 24px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.animated-text {
font-size: 80px;
margin: 0;
text-transform: uppercase;
background: linear-gradient(to right, #fff, #aaa, #fff);
background-size: 200% auto;
color: transparent;
-webkit-background-clip: text;
background-clip: text;
animation: shine 3s linear infinite;
}
@keyframes shine {
to { background-position: 200% center; }
}
</style>
</head>
<body>
<div class="glass-container">
<h1 class="animated-text">Dream Big</h1>
</div>
</body>
</html>