-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (100 loc) · 1.54 KB
/
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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(180, 149, 109);
}
.frame {
width: 1000px;
height: 600px;
background-color: white;
position: relative;
overflow: hidden;
-webkit-box-shadow: 0px 6px 28px 2px rgba(0, 0, 0, 0.22);
-moz-box-shadow: 0px 6px 28px 2px rgba(0, 0, 0, 0.22);
box-shadow: 0px 6px 28px 2px rgba(0, 0, 0, 0.22);
display: flex;
justify-content: center;
}
.frame img {
position: absolute;
width: 100%;
top: -50px;
}
.layer-1 {
/* top: 250px; */
animation: layer-1-anim 3s;
}
.layer-2 {
/* top: 150px; */
animation: layer-2-anim 3s;
}
.layer-3 {
/* top: 50px; */
animation: layer-3-anim 3s;
}
.title {
color: white;
font-size: 100px;
bottom: 130px;
font-family: Arial, Helvetica, sans-serif;
font-weight: 900;
letter-spacing: 0.8rem;
position: absolute;
animation: title-anim 3s;
}
.overlay {
width: 100%;
height: 100%;
background-color: white;
position: absolute;
animation: overlay-anim 3s;
bottom: 100%;
}
@keyframes layer-1-anim {
0% {
top: 250px;
}
100% {
top: -50px;
}
}
@keyframes layer-2-anim {
0% {
top: 150px;
}
100% {
top: -50px;
}
}
@keyframes layer-3-anim {
0% {
top: 50px;
}
100% {
top: -50px;
}
}
@keyframes overlay-anim {
0% {
bottom: 0;
}
100% {
bottom: 100%;
}
}
@keyframes title-anim {
0% {
bottom: 0px;
opacity: 0;
}
100% {
bottom: 130px;
opacity: 1;
}
}