-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPTG.css
More file actions
54 lines (48 loc) · 1.03 KB
/
PTG.css
File metadata and controls
54 lines (48 loc) · 1.03 KB
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
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap");
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
.img-gallery{
width: 80%;
margin: 100px auto 50px;
display: grid;
grid-template-columns: repeat(auto-fit,minmax(30em, 1fr));
grid-gap: 30px;
}
.img-gallery .img {
width: 100%;
cursor: pointer;
max-width: 50em;
}
.img-gallery img:hover{
transform: scale(0.8) rotate(-10deg);
transition: 0.5s;
border-radius: 20px;
box-shadow: 0 32px 75px rgba(68,77,136, 0.2);
}
.full-img{
width: 100%;
height: 100vh;
background: rgba(0, 0, 0, 0.9);
position: fixed;
top: 0;
left: 0;
display: none;
align-items: center;
justify-content: center;
z-index: 100;
}
.full-img img {
width: 90%;
max-width: 55em;
}
.full-img span{
position: absolute;
top: 10%;
right: 5%;
font-size: 4em;
color: #fff;
cursor:pointer;
}