-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassEntrada.css
77 lines (67 loc) · 1.27 KB
/
classEntrada.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
#entrada {
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
background: rgb(255, 0, 0);
background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 1) 60%, #2a2a37 95%);
background-size: 100%;
padding: 30px;
font-size: 20px;
width: 100vw;
}
.slider {
display: flex;
height: 80vh;
width: 80vw;
align-items: center;
justify-content: center;
margin: auto;
margin-top: 0%;
position: absolute;
top: 70px;
}
.slider li {
list-style: none;
position: absolute;
}
.slider img {
margin: auto;
height: 80vh;
width: 80vw;
vertical-align: top;
filter: brightness(90%);
}
.slider input {
display: none;
}
.slider label {
background-color: rgb(255, 255, 255);
bottom: 10px;
cursor: pointer;
display: block;
height: 10px;
position: absolute;
width: 10px;
z-index: 10;
border-radius: 20px;
}
.slider li:nth-child(1) label {
left: 10px;
}
.slider li:nth-child(2) label {
left: 40px;
}
.slider li:nth-child(3) label {
left: 70px;
}
.slider img {
opacity: 0;
visibility: hidden;
transition: opacity 800ms;
}
.slider li input:checked~img {
opacity: 1;
visibility: visible;
z-index: 10;
}