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