Spaces:
Running
Running
File size: 1,257 Bytes
079e49c cb3d5ea 079e49c cb3d5ea 079e49c cb3d5ea 079e49c cb3d5ea 079e49c cb3d5ea 079e49c cb3d5ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
body {
margin: 0;
padding: 0;
height: 100vh;
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: 'Segoe UI', sans-serif;
}
@keyframes gradient {
0% {background-position: 0% 50%;}
50% {background-position: 100% 50%;}
100% {background-position: 0% 50%;}
}
.glow {
font-size: 4rem;
color: white;
text-shadow: 0 0 5px #ff4da6, 0 0 20px #ff4da6, 0 0 40px #ff4da6;
animation: pulse 2s infinite alternate;
}
@keyframes pulse {
0% { transform: scale(1); }
100% { transform: scale(1.1); }
}
.hearts {
position: relative;
margin-top: 30px;
}
.heart {
width: 20px;
height: 20px;
background: red;
position: absolute;
top: 0;
left: 50%;
animation: float 5s infinite ease-in-out;
clip-path: polygon(50% 0%, 61% 19%, 81% 25%, 70% 45%, 50% 60%, 30% 45%, 19% 25%, 39% 19%);
}
.heart:nth-child(2) {
animation-delay: 1s;
left: 45%;
}
.heart:nth-child(3) {
animation-delay: 2s;
left: 55%;
}
@keyframes float {
0% {transform: translateY(0) scale(1);}
100% {transform: translateY(-300px) scale(1.5); opacity: 0;}
} |