-
Notifications
You must be signed in to change notification settings - Fork 0
/
estilos.css
119 lines (105 loc) · 2.13 KB
/
estilos.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
* {
margin: 0px;
padding: 0px;
font-size: 120%;
}
body {
background: #171c26;
height: calc(100vh - 10px);
display: flex;
align-items: center;
justify-content: center;
}
.contenedor {
background: #171c26;
width: 100%;
height: auto;
margin-left: 1%;
margin-right: 1%;
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(2, 1fr);
column-gap: 1%;
row-gap: 4%;
}
.casilla {
width: 100%;
height: 0;
padding-bottom: 100%;
border-radius: 100%;
position: relative;
transform-style: preserve-3d;
perspective: 1000px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.8s;
}
.tarjeta {
width: 100%;
height: 0;
padding-bottom: 100%;
grid-row: 2 / 3;
}
.btnaumen, .btndismi, .lblcontador {
width: 100%;
height: 0;
padding-bottom: 100%;
grid-row: 1 / 2;
}
.btnaumen {
grid-column: 3 / 4;
cursor: pointer;
}
.btndismi {
grid-column: 6 / 7;
cursor: pointer;
}
.lblcontador {
grid-column: 4 / 6;
left: 25%;
width: 50%;
height: 0;
padding-bottom: 50%;
font-size: 100%;
}
.apagado, .encendido {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: absolute;
backface-visibility: hidden;
top: 0%;
width: 100%;
height: 100%;
border-radius: 100%;
background: #fdfffe;
color: #171c26;
border: 2px solid #4c5b7b;
}
.apagado {
background: #171c26;
color: #fdfffe;
z-index: 2;
transition: all 0.8s;
}
.encendido {
transform: rotatex(180deg);
transition: all 0.8s;
}
.aumen, .dismi, .contador {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: absolute;
backface-visibility: hidden;
top: 0%;
width: 100%;
height: 100%;
border-radius: 100%;
background: #fdfffe;
color: #171c26;
border: 2px solid #4c5b7b;
}