-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
75 lines (57 loc) · 1.04 KB
/
index.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
body{
margin: 0;
padding: 0;
background-color: #3E3D3D;
}
p{
color: white;
z-index: 2;
}
h1{
color: white;
display: flex;
justify-content: center;
margin-bottom: 75px;
}
.personajes img{
height: 20vw;
width: 100%;
margin: 0px;
}
.personajes {
display: grid;
grid-template-columns: repeat(4,22vw);
justify-content: center;
grid-gap: 10px;
margin-left: 3vw;
}
.hover{
display: grid;
justify-content: center;
position: relative;
}
.hover p{
padding: 4px;
margin: 0;
font-size: 20px;
opacity: 1;
}
.hover .informacion{
width: 100%;
background-color: rgba(0,0,0,0.75);
opacity: .8;
position: absolute;
bottom: 0px;
transition: 1s;
}
/*--------------------------RESPOSIVE DESING----------------------------*/
@media screen and (max-width:800px){
.personajes{
grid-template-columns: repeat(2,35vw);
margin-left: 3vw;
}
.personajes img{
height: 35vw;
width: 35vw;
}
}