-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (70 loc) · 1.44 KB
/
style.css
File metadata and controls
82 lines (70 loc) · 1.44 KB
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
* {
box-sizing: border-box;
}
body{
background: #ffffff;
min-height: 100vh;
padding: 0;
margin: 0;
}
.nav{
position: fixed;
padding: 2em;
width: 100%;
text-align: center;
z-index: 100000;
color: #fff;
mix-blend-mode: difference;
font-family: "Neue Montreal";
font-size: 1rem;
display: flex;
justify-content: space-between;
}
.gallery{
position: absolute;
width: 100%;
height: 100vh;
overflow: hidden;
}
.cards {
position:absolute;
width: 75vw;
height: 50rem;
top: 75%;
left: 50%;
transform: translate(-50%,-50%);
}
.cards li {
list-style: none;
padding: 0;
margin: 0;
width:75vw;
height: 50rem;
position:absolute;
top: 0;
left: 0;
}
li:nth-child(1) {
background: url("./images/img-1.jpg") no-repeat 50% 50%;
background-size: cover;
}
li:nth-child(2) {
background: url("./images/img-2.jpg") no-repeat 50% 50%;
background-size: cover;
}
li:nth-child(3) {
background: url("./images/img-3.jpg") no-repeat 50% 50%;
background-size: cover;
}
li:nth-child(4) {
background: url("./images/img-4.jpg") no-repeat 50% 50%;
background-size: cover;
}
li:nth-child(5) {
background: url("./images/img-5.jpg") no-repeat 50% 50%;
background-size: cover;
}
li:nth-child(6) {
background: url("./images/img-6.jpg") no-repeat 50% 50%;
background-size: cover;
}