-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
52 lines (46 loc) · 813 Bytes
/
Copy pathstyles.css
File metadata and controls
52 lines (46 loc) · 813 Bytes
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
body {
margin: 0;
}
#img {
width: 100vw;
height: 100dvh;
object-fit: cover;
position: fixed;
background-size: cover;
background-position: center;
}
main {
height: 300dvh;
}
header {
align-items: flex-end;
animation: slideInDown forwards 1s ease-out;
background: linear-gradient(40deg, #ba3816, #a41705 40%);
border-radius: 50%;
display: flex;
height: 30rem;
justify-content: center;
left: 50%;
margin-top: -22rem;
position: absolute;
top: 0;
transform: translate(-50%, -25%);
width: 30rem;
z-index: 1;
img {
width: 200px;
margin: 0 auto;
height: auto;
margin-bottom: 60px;
}
}
@keyframes slideInDown {
from {
transform: translate3d(-50%, -100%, 0);
opacity: 0;
}
to {
transform: translate3d(-50%, 0, 0);
opacity: 1;
}
}