Tawd's picture
no just change the style of my page dont chage the functions and names
b9da434 verified
Raw History Blame Contribute Delete
1.37 kB
@keyframes heartBeat {
0% { transform: scale(1); }
14% { transform: scale(1.3); }
28% { transform: scale(1); }
42% { transform: scale(1.3); }
70% { transform: scale(1); }
}
@keyframes floatHearts {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
@keyframes pulseGlow {
0% { box-shadow: 0 0 10px rgba(255, 77, 109, 0.5); }
50% { box-shadow: 0 0 30px rgba(255, 77, 109, 0.8); }
100% { box-shadow: 0 0 10px rgba(255, 77, 109, 0.5); }
}
body {
background: linear-gradient(135deg, #fff0f6 0%, #ffdeeb 50%, #fcc2d7 100%);
min-height: 100vh;
position: relative;
overflow-x: hidden;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: radial-gradient(circle at 20% 30%, rgba(255, 192, 203, 0.2) 0%, transparent 20%),
radial-gradient(circle at 80% 70%, rgba(255, 192, 203, 0.2) 0%, transparent 20%);
z-index: -1;
}
.heart-decoration {
position: fixed;
color: rgba(255, 77, 109, 0.5);
z-index: -1;
animation: floatHearts 15s infinite ease-in-out;
text-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
opacity: 0.8;
}
.heart-decoration:nth-child(2n) {
animation-delay: 3s;
animation-duration: 18s;
}
.heart-decoration:nth-child(3n) {
animation-delay: 6s;
animation-duration: 20s;
}