-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (89 loc) · 2.25 KB
/
Copy pathindex.html
File metadata and controls
96 lines (89 loc) · 2.25 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Liila Sydän</title>
<style>
body {
margin: 0;
padding: 0;
background: radial-gradient(circle, #1a1a1a, black);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
font-family: 'Arial', sans-serif;
color: white;
}
.heart {
position: relative;
width: 120px;
height: 120px;
background-color: #a020f0; /* Liila väri */
transform: rotate(-45deg);
animation: heartbeat 1.8s infinite ease-in-out;
box-shadow: 0 0 15px 5px #a020f0;
}
.heart::before,
.heart::after {
content: '';
position: absolute;
width: 120px;
height: 120px;
background-color: #a020f0;
border-radius: 50%;
}
.heart::before {
top: -60px;
left: 0;
}
.heart::after {
left: 60px;
top: 0;
}
@keyframes heartbeat {
0%, 100% {
transform: scale(1) translateY(0) rotate(-45deg);
box-shadow: 0 0 15px 5px #a020f0;
}
25% {
transform: scale(1.15) translateY(-5px) rotate(-45deg);
box-shadow: 0 0 25px 10px #d020f0;
}
50% {
transform: scale(1.3) translateY(-10px) rotate(-45deg);
box-shadow: 0 0 35px 15px #ff20ff;
}
75% {
transform: scale(1.15) translateY(-5px) rotate(-45deg);
box-shadow: 0 0 25px 10px #d020f0;
}
}
.text {
margin-top: 20px;
font-size: 28px; /* Suurempi fontti */
color: #ffffff; /* Valkoinen teksti */
text-align: center;
animation: fadeIn 2s ease-in-out;
text-shadow: 0 0 10px #a020f0, 0 0 20px #ff20ff, 0 0 30px #ff20ff;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
</style>
</head>
<body>
<div class="heart"></div>
<div class="text">For April and Iida, with love 💜</div>
</body>
</html>