-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.css
68 lines (63 loc) · 1.03 KB
/
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
63
64
65
66
67
68
*{
box-sizing: border-box;
}
body{
margin: 0;
padding: 0;
}
.back{
width: 5rem;
height: 5rem;
border-radius: 50%;
background-color: black;
color: white;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
bottom: 4rem;
right: 5rem;
}
.back:hover{
cursor: pointer;
}
.gallery-cont{
background-color:#ced6e0;
min-height: 100vh;
width: 100vw;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.media-cont{
height: 15rem;
width: 15rem;
border: 10px solid white;
/* background-color: green; */
margin: 2rem;
}
.media{
height: calc(100% - 2rem - 2rem);
/* background-color: orange; */
}
.media>*{
height: 100%;
width: 100%;
object-fit: fill;
}
.action-btn{
height: 2rem;
color: white;
display: flex;
justify-content: center;
align-items: center;
}
.action-btn:hover{
cursor: pointer;
}
.download{
background-color: black;
}
.delete{
background-color: rgb(223,43,43);
}