Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,61 @@
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
height: 100vh;
|
| 5 |
+
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
|
| 6 |
+
background-size: 400% 400%;
|
| 7 |
+
animation: gradient 15s ease infinite;
|
| 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: 4rem;
|
| 23 |
+
color: white;
|
| 24 |
+
text-shadow: 0 0 5px #ff4da6, 0 0 20px #ff4da6, 0 0 40px #ff4da6;
|
| 25 |
+
animation: pulse 2s infinite alternate;
|
| 26 |
}
|
| 27 |
|
| 28 |
+
@keyframes pulse {
|
| 29 |
+
0% { transform: scale(1); }
|
| 30 |
+
100% { 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 |
+
}
|