-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilo.css
executable file
·80 lines (69 loc) · 1.29 KB
/
estilo.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
69
70
71
72
73
74
75
76
77
78
79
80
*{
margin: 0;
padding: 0;
}
.card_img{
width: 200px;
height: 200px;
overflow: hidden;
margin: 5px;
}
.small_img{
height: 100%;
cursor: pointer;
transition: all linear 0.4s;
border-radius: 10px;
}
.small_img:hover{
filter: grayscale(100%);
transform: scale(1.1);
border-radius: 10px;
}
.row{
display: flex;
justify-content: center;
flex-wrap: wrap;
}
#modal_img{
width: 65vw;
transform: scale(0);
transition: all linear .3s;
}
.modal_active #modal_img{
transform: scale(1);
}
.modal{
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, .7);
position: fixed;
visibility: hidden;
z-index: 1;
opacity: 0;
transition: visibility 0.8s linear, opacity 0.5s linear;
}
.modal_content{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#bt_close{
color:#fff;
background-color: #000;
position: absolute;
top:10px;
right: 10px;
padding: 5px 10px;
font-size: 25px;
border:solid 1px #fff;
transition: all ease-out .4s;
cursor: pointer;
}
#bt_close:hover{
background-color: #f00;
}
.modal_active{
visibility: visible;
opacity: 1;
}