-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
117 lines (116 loc) · 2.7 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
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
*{
margin: 0;
padding: 0;
} body{
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
background-color: #202020
;
overflow: hidden;
} .contenedor-ruleta{
transform: rotate(180deg);
} .contenedor-ruleta::before{
content: "";
width: 60px;
height: 60px;
background-color: #202020
;
position: absolute;
z-index: 99999;
top: 55%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
pointer-events: none;
} .ruleta{
/*background-color: #303030
;*/
border-radius: 360px;
position: relative;
overflow: hidden; -webkit-animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1.04);
animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1.04);
-webkit-animation-duration: 5.8s;
animation-duration: 5.8s;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
} .ruleta::before{
content: "";
width: 100px;
height: 100px;
background-color: #202020
;
position: absolute;
z-index: 9999;
border-radius: 360px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
} .opcion{
border: 0 solid transparent;
position: absolute;
transform-origin: top center;
top: 50%;
} .opcion::before{
z-index: 99999;
position: absolute;
/* display: block; */
text-align: center;
font-size: 15px;
color: #202020
;
font-weight: bold;
font-family: sans-serif;
width: 40px;
line-height: 40px;
left: -20px;
margin-top: 90px;
transform: rotate(90deg);
} .popup {
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 30px;
height: 360px;
width: 360px;
border-radius: 200px;
text-align: center;
animation-name: popupAnimation;
animation-duration: 0.5s;
} @keyframes popupAnimation {
0% {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0;
}
100% {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
}
#cerrarPopup {
display: inline-block;
background-color: #000000;
color: rgb(255, 255, 255);
font-size: 18px;
padding: 10px 20px;
border: none;
border-radius: 5px;
text-align: center;
text-decoration: none;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease-in-out;
}
#cerrarPopup:hover {
background-color: #000000;
box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
transform: translateY(-2px);
}