-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
52 lines (41 loc) · 760 Bytes
/
styles.css
File metadata and controls
52 lines (41 loc) · 760 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
body {
background-image: url("try.jpg");
background-repeat: no-repeat;
height: 100%;
width: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
img {
width: 100%;
height: auto;
display: flex;
margin-bottom: 20px;
padding: 10px;
}
.container {
column-count: 4;
max-width: 1250px;
margin: 0 auto;
padding: 30px;
}
@media screen and (max-width: 1024px) {
.container {
column-count: 3;
}
}
@media screen and (max-width: 640px) {
.container {
column-count: 2;
}
}
@media screen and (max-width: 375px) {
.container {
column-count: 1;
}
}
img:hover {
transform: scale(1.15);
transition: .3s;
}