forked from kokonior/HTML-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
39 lines (39 loc) · 848 Bytes
/
style.css
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
lkasjdkfjksd f@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
margin: 0;
padding:0;
box-sizing: border-box;
font-family: 'Poppins',sans-serif;
}
section{
position:relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: url(bg.jpg);
background-position: center;
background-attachment: fixed;
background-size: cover;
overflow: hidden;
}
section h2
{
font-size: 5em;
color: #fff;
pointer-events: none;
text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
section .glass
{
position: absolute;
transform: translate(-50%,-50%);
pointer-events: none;
width: 300px;
height: 200px;
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
background: transparent;
backdrop-filter: blur(10px);
transition: 0.2%;
}