-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (55 loc) · 822 Bytes
/
Copy pathstyle.css
File metadata and controls
70 lines (55 loc) · 822 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#grid {
width: 90%;
margin: 10% 10%;
}
#grid img{
width: 100%;
height: 300px;
}
.item{
width: 30%;
float:left;
height: 300px;
}
.item p{
position: relative;
bottom: 50px;
height: 46px;
text-align: center;
color: #fff;
background-color: rgba(130, 128, 128,.8);
padding: 15px;
}
/*Desktop*/
@media only screen and (min-width: 1350px) and (max-width: 1800px){
.item{
width: 30%;
}
#grid img{
max-width: 100%;
}
}
/* mobile*/
@media only screen and (min-width: 861px) and (max-width: 1349px){
.item{
width: 50%;
}
#grid{
width: 90%;
margin: 5%;
}
}
@media only screen and (min-width: 300px) and (max-width: 860px){
.item{
width: 100%;
}
#grid{
width: 90%;
margin: 5%;
}
}