-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.css
More file actions
88 lines (48 loc) · 910 Bytes
/
Copy pathgallery.css
File metadata and controls
88 lines (48 loc) · 910 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.gallery{
margin-top:100px;
}
.gallery h2{
text-align:center;
font-size:34px;
margin-bottom:12px;
}
.gallery-subtitle{
text-align:center;
color:#cbd5e1;
margin-bottom:45px;
}
.gallery-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}
.gallery-card{
overflow:hidden;
border-radius:22px;
background:
rgba(255,255,255,0.05);
border:
1px solid rgba(255,255,255,0.12);
backdrop-filter:blur(15px);
transition:.4s;
box-shadow:
0 10px 30px rgba(0,0,0,.35);
}
.gallery-card:hover{
transform:
translateY(-10px)
scale(1.03);
box-shadow:
0 20px 45px rgba(0,0,0,.5);
}
.gallery-card img{
width:100%;
height:250px;
object-fit:cover;
display:block;
transition:.5s;
}
.gallery-card:hover img{
transform:scale(1.12);
}