-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
40 lines (40 loc) · 1017 Bytes
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: #e2e8f0;
}
.bg-blob {
position: absolute;
z-index: -1;
box-sizing: content-box;
height: 0;
padding: 0;
background-size: cover;
background-repeat: no-repeat;
}
.bg-large-blob {
top: 0;
left: 0;
width: 70%;
padding-bottom: 70%;
background-image: url(./large-blob.svg);
}
.bg-medium-blob {
top: 0;
right: 0;
width: 500px;
padding-bottom: 600px;
background-image: url(./medium-blob.svg);
}
</style>
<title>SVG Blob</title>
</head>
<body>
<div class="bg-blob bg-medium-blob"></div>
<div class="bg-blob bg-large-blob"></div>
</body>
</html>