-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss1.css
73 lines (67 loc) · 1.88 KB
/
css1.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
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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');
.bg {
background-image: url(./glass1.jpg);
background-position: center;
background-size: cover;
min-height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.bgm {
background-image: url(./glass2.jpg);
background-position: center;
background-size: cover;
min-height: 100vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.panel {
background-image: linear-gradient( to bottom right, rgba(255, 255, 255, 0.068) 0%, rgba(255, 255, 255, 0.123) 100%);
backdrop-filter: blur(6px);
border-radius: 12px;
width: 700px;
border-top: 1px solid rgba(255, 255, 255, 0.13);
border-left: 1px solid rgba(255, 255, 255, 0.11);
padding: 80px;
box-shadow: rgba(255, 255, 255, 0) -20px -20px 45px inset, rgba(0, 0, 0, 0.1) 10px 10px 20px, rgba(0, 0, 0, 0.06) 5px 5px 10px;
position: relative;
}
.panel::before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: linear-gradient( 135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0) 40%);
pointer-events: none;
}
h2 {
font-size: 4em;
font-weight: 1000;
margin-top: 0;
}
.card__text {
font-size: 20px;
line-height: 1.45;
opacity: 1;
margin-bottom: 2em;
color: rgb(248, 250, 252);
}
.button {
display: inline-block;
padding: 1.5em 3em;
background-image: linear-gradient( -45deg, rgba(9, 28, 60, 1) 0%, rgba(67, 46, 103, 1) 100%);
text-decoration: none;
font-weight: 900;
text-transform: uppercase;
font-size: 14px;
letter-spacing: 0.2em;
border-radius: 10em;
color: white;
}