-
Notifications
You must be signed in to change notification settings - Fork 0
/
album.html
190 lines (151 loc) · 3.05 KB
/
album.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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>album</title>
</head>
<body>
<div class="card c1">
<img src="assets/role1.jpg" width="800px">
</div>
<div class="card c2">
<img src="assets/role2.jpg" width="800px">
</div>
<div class="card c3">
<img src="assets/role3.jpg" width="700px">
</div>
<div class="card c4">
<img src="assets/role4.jpg" width="800px">
</div>
<div class="card c5">
<img src="assets/role5.jpg" width="800px">
</div>
</body>
<style>
* {
padding: 0;
margin: 0;
}
body {
height: 100vh;
}
.card {
height: 100%;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 0 3px #5f5d5d;
transition: all 1s ease-in;
}
.c1 {
width: 100%;
background-color: #f2ec7f;
z-index: 1;
border-radius: 0px;
}
.c2 {
width: 31%;
background-color: #eae9d6;
z-index: 2;
}
.c3 {
width: 24%;
background-color: #f7826e;
z-index: 3;
}
.c4 {
width: 17%;
background-color: #6a65b8;
z-index: 4;
}
.c5 {
width: 10%;
background-color: #d0cae3;
z-index: 5;
}
.c2:hover {
width: 95%;
transition-delay: 0.1s;
}
.c3:hover {
width: 90%;
transition-delay: 0.1s;
}
.c3:hover~.c2 {
width: 95%
}
.c4:hover {
width: 85%;
transition-delay: 0.2s;
}
.c4:hover~.c2 {
width: 90%;
}
.c4:hover~.c3 {
width: 95%;
transition-delay: 0.1s;
}
.c5:hover {
width: 80%;
transition-delay: 0.3s;
}
.c5:hover~.c2 {
width: 95%;
}
.c5:hover~.c3 {
width: 90%;
transition-delay: 0.1s;
}
.c5:hover~.c4 {
width: 85%;
transition-delay: 0.2s;
}
li,
button,
a {
font-family: Arno Pro;
font-weight: 500;
font-size: 16px;
color: #edf0f1;
text-decoration: none;
transition: all 0.3s ease 0s;
position: fixed;
}
img {
width: 80%;
height: auto;
position: relative;
overflow: hidden;
border-radius: 30px;
box-shadow: 10px 40px 80px rgba(0, 0, 0, 0.1);
}
.navig {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
z-index: 100;
}
.logo {
cursor: pointer;
}
.nav_links {
list-style: none;
}
.nav_links li {
display: inline-block;
padding: 0px 20px;
}
.nav_links li:nth-child(1) {
text-decoration: underline;
}
.nav_links li a {
transition: all 0.3s ease 0s;
}
.nav_links li a:hover {
color: #edbd55;
}
</style>
</html>