DmitrMakeev
commited on
Commit
•
b1b29fc
1
Parent(s):
6a14723
Update koleso.html
Browse files- koleso.html +58 -0
koleso.html
CHANGED
@@ -6,7 +6,65 @@
|
|
6 |
<link rel="stylesheet" href="https://huggingface.co/spaces/DMTuit/psy4/resolve/main/css/main.css">
|
7 |
<script src="https://huggingface.co/spaces/DMTuit/psy4/resolve/main/js/main.js"></script>
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
</head>
|
11 |
|
12 |
<body>
|
|
|
6 |
<link rel="stylesheet" href="https://huggingface.co/spaces/DMTuit/psy4/resolve/main/css/main.css">
|
7 |
<script src="https://huggingface.co/spaces/DMTuit/psy4/resolve/main/js/main.js"></script>
|
8 |
|
9 |
+
<style>
|
10 |
+
* {
|
11 |
+
margin: 0;
|
12 |
+
padding: 0;
|
13 |
+
box-sizing: border-box;
|
14 |
+
}
|
15 |
|
16 |
+
body {
|
17 |
+
height: 100vh;
|
18 |
+
display: grid;
|
19 |
+
place-items: center;
|
20 |
+
}
|
21 |
+
|
22 |
+
#wheelOfFortune {
|
23 |
+
display: inline-block;
|
24 |
+
position: relative;
|
25 |
+
overflow: hidden;
|
26 |
+
}
|
27 |
+
|
28 |
+
#wheel {
|
29 |
+
display: block;
|
30 |
+
}
|
31 |
+
|
32 |
+
#spin {
|
33 |
+
font: 1.5em/0 sans-serif;
|
34 |
+
user-select: none;
|
35 |
+
cursor: pointer;
|
36 |
+
display: flex;
|
37 |
+
justify-content: center;
|
38 |
+
align-items: center;
|
39 |
+
position: absolute;
|
40 |
+
top: 50%;
|
41 |
+
left: 50%;
|
42 |
+
width: 30%;
|
43 |
+
height: 30%;
|
44 |
+
margin: -15%;
|
45 |
+
background: #fff;
|
46 |
+
color: #fff;
|
47 |
+
box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
|
48 |
+
border-radius: 50%;
|
49 |
+
transition: 0.8s;
|
50 |
+
}
|
51 |
+
|
52 |
+
#spin::after {
|
53 |
+
content: '';
|
54 |
+
position: absolute;
|
55 |
+
top: -17px;
|
56 |
+
border: 10px solid transparent;
|
57 |
+
border-bottom-color: currentColor;
|
58 |
+
border-top: none;
|
59 |
+
}
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
</style>
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
</head>
|
69 |
|
70 |
<body>
|