-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
54 lines (43 loc) · 733 Bytes
/
Copy pathstyle.css
File metadata and controls
54 lines (43 loc) · 733 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
53
54
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #333;
}
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 1em;
}
.grid > div {
height: 210px;
background-size: cover;
background-attachment: fixed;
transition: 0.3s;
}
.grid > div:nth-of-type(1) {
grid-column: 1/3;
}
.grid > div:nth-of-type(5) {
grid-column: 2/4;
}
.grid > div:nth-of-type(78) {
grid-column: 1/5;
}
.grid > div:nth-of-type(11) {
grid-column: 1/3;
}
.bg-1 {
background: url('./img/spirit-away.jpg');
}
.bg-2 {
background: url('./img/spirit-away-2.jpg');
}
.bg-2:hover {
background: url('./img/spirit-away.jpg');
}
.bg-1:hover {
background: url('./img/spirit-away-2.jpg');
}