-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflower.html
46 lines (43 loc) · 1.1 KB
/
flower.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blue Heart Design</title>
<link rel="stylesheet" href="styles.css">
<style>
/* Add styles for the blue heart */
.heart {
width: 200px;
height: 200px;
position: relative;
overflow: hidden;
}
.heart::before,
.heart::after {
content: '';
position: absolute;
top: 0;
width: 200px;
height: 300px; /* Adjust height to form a full heart shape */
background-color: #0077ff; /* Blue color */
border-radius: 50%;
}
.heart::before {
left: -100px; /* Adjust left position to form left side of heart */
transform: rotate(-45deg);
}
.heart::after {
left: 100px; /* Adjust right position to form right side of heart */
transform: rotate(45deg);
}
</style>
</head>
<body>
<div class="container">
<h1>Thank You for Forgiving Me</h1>
<div class="heart"></div>
<p>This blue heart symbolizes my heartfelt apology.</p>
</div>
</body>
</html>