-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gallery.css
62 lines (61 loc) · 912 Bytes
/
Gallery.css
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
body{
background-color:;
}
h1{
font-family: arial;
text-align: center;
}
ul{
float: right;
list-style-type: none;
margin:30px;
}
ul li{
display: inline-block;
}
ul li a{
text-decoration: none;
color:blue;
padding:5px 20px;
border: 1px solid transparent;
transition: 0.6s ease;
}
ul li a:hover{
background-color:blue;
color: black;
}
ul li.active a{
background-color:blue;
color: black;
}
.main{
max-width: 1200px;
margin: auto;
}
.container{
margin:0 auto;
max-width: 1000px;
padding: 20px;
box-shadow: 0px 0px 50px grey;
column-count: 3;
column-gap: 20px;
column-width: 33.3333%;
background:#eee;
}
img{
width: 100%;
height: auto;
margin-bottom: 20px;
}
@media only screen and (min-width: 500px) and (max-width: 750px){
.container{
column-count: 2;
column-width: 50%;
}
}
@media only screen and (max-width: 499px){
.container{
column-count: 1;
column-width: 100%;
}
}