-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (40 loc) · 730 Bytes
/
Copy pathstyle.css
File metadata and controls
48 lines (40 loc) · 730 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #191919;
}
.gallery {
width: 900px;
display: flex;
overflow-x: scroll;
}
.gallery::-webkit-scrollbar {
display: none;
}
.gallery div {
width: 100%; display: grid; grid-template-columns: auto auto auto; grid-gap: 20px; padding: 10px; flex:none;
}
.gallery div img {
width: 100%;
transition: 0.5s;
filter: grayscale(1);
}
.gallery-wrap {
display: flex;
align-items: center;
justify-content: center;
margin: 10% auto;
}
#backBtn, #nextBtn {
cursor: pointer;
margin: 40px;
width: 50px;
}
.gallery div img:hover {
filter:grayscale(0);
cursor: pointer;
transform: scale(1.1);
}