-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImageGalery.css
More file actions
62 lines (55 loc) · 901 Bytes
/
ImageGalery.css
File metadata and controls
62 lines (55 loc) · 901 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
#first.mask
{
padding-top: 8%;
}
#container
{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
padding: 2% 2% 0 0;
align-items: center;
}
#container img
{
width: 80%;
filter: drop-shadow(1px 10px 4px black);
box-sizing: border-box;
padding-left: 70px;
padding-bottom: 10px;
}
#container img:hover
{
transform: scale(1.2);
}
#container p
{
text-align: center;
font-size: 17px;
}
#last p
{
margin: 4% 0 4% 0;
}
@media screen and (max-width: 768px)
{
#first.mask
{
padding-top: 22%;
font-size: 2em;
margin-left: 2.5%;
}
#container
{
grid-template-columns: repeat(1, 1fr);
}
#container img
{
width: 60%;
margin-left: 15%;
}
#last p
{
font-size: 0.7em;
}
}