-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
56 lines (54 loc) · 967 Bytes
/
styles.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
body {
font-family: metal lord;
}
.card-1 {
background-image: url(/img/1980-Iron-Maiden.jpg);
}
.card-2 {
background-image: url(/img/1980-running-free.jpg);
}
.card-3 {
background-image: url(/img/1980-sanctuary.jpg);
}
.card-4 {
background-image: url(/img/1980.woman-in-uniforms.jpg);
}
.card-5 {
background-image: url(/img/1981.killers.jpg);
}
.card {
position: absolute;
background-position: center;
background-size: cover;
height: 500px;
width: 500px;
}
.arrow {
position: absolute;
width: 10%;
top: 50%;
transform: translate(0, -50%);
transition: ease-in 0.1s;
cursor: pointer;
filter: drop-shadow(1px 3px 3px #000);
}
.arrow-left {
left: 10px;
}
.arrow-right {
right: 10px;
}
.arrow-icon {
width: 100%;
}
.arrow:hover {
width: 11%;
filter: drop-shadow(5px 9px 9px #000);
}
#one:checked ~ .card-1,
#two:checked ~ .card-2,
#three:checked ~ .card-3,
#four:checked ~ .card-4,
#five:checked ~ .card-5 {
z-index: 2;
}