-
Notifications
You must be signed in to change notification settings - Fork 0
/
GlassMorph.html
69 lines (51 loc) · 1.51 KB
/
GlassMorph.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.Container{
background-image: url('https://source.unsplash.com/collection/190727/1600x900');
margin: 10rem;
background-size: cover;
box-shadow: 8px 8px 26px 4px rgba(0, 0, 0, 0.2) ;
margin: 3px solid white;
}
.CardFrame{
width: 588px;
height: 377px;
left: 240px;
top: 229px;
background: linear-gradient(115.79deg, rgba(255, 255, 255, 0.4) 2.29%, rgba(255, 255, 255, 0.1) 78.04%);
box-shadow: 0px 1px 24px -1px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(15px);
border-radius: 55px;
}
.wrapper{
height: 70vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
h2{
text-align: center;
}
</style>
</head>
<body>
<h2>This Is Glass Morphism</h2>
<div class="Container">
<div class="wrapper">
<div class="CardFrame">
</div>
</div>
</div>
</body>
</html>