-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathincrementalButton.css
More file actions
92 lines (76 loc) · 1.48 KB
/
incrementalButton.css
File metadata and controls
92 lines (76 loc) · 1.48 KB
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
.incrementalButtonMain {
height: 84px;
width: 84px;
line-height: 90px;
font-size: 60px;
text-align: center;
vertical-align: middle;
border-radius: 15px;
cursor: pointer;
background-color: white;
color: black;
border: 3px black solid;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.incrementalButtonMainAnimation {
animation: turnAround 2s;
}
/* Standard syntax */
@keyframes turnAround {
from {
transform: rotate(0deg);
}
25% {
transform: rotate(90deg);
}
50% {
transform: rotate(180deg);
}
75% {
transform: rotate(270deg);
}
to {
transform: rotate(360deg);
}
}
/* Mozila */
@-moz-keyframes turnAround {
from {
-moz-transform: rotate(0deg);
}
25% {
-moz-transform: rotate(90deg);
}
50% {
-moz-transform: rotate(180deg);
}
75% {
-moz-transform: rotate(270deg);
}
to {
-moz-transform: rotate(360deg);
}
}
/* Chrome, Safari, Opera */
@-webkit-keyframes turnAround {
from {
-webkit-transform: rotate(0deg);
}
25% {
-webkit-transform: rotate(90deg);
}
50% {
-webkit-transform: rotate(180deg);
}
75% {
-webkit-transform: rotate(270deg);
}
to {
-webkit-transform: rotate(360deg);
}
}