Spaces:
Runtime error
Runtime error
Update timer/style.css
Browse files- timer/style.css +44 -5
timer/style.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
/*
|
| 2 |
Svg Projects
|
| 3 |
-
Author: Jonathan Trancozo
|
| 4 |
Language: HTML, CSS3 and SVG
|
| 5 |
Project_version: V1
|
| 6 |
Project_description:
|
|
@@ -52,8 +52,8 @@ body {
|
|
| 52 |
}
|
| 53 |
|
| 54 |
#progress-time-fill {
|
| 55 |
-
-webkit-animation-name: progress-fill;
|
| 56 |
-
animation-name: progress-fill;
|
| 57 |
-webkit-animation-timing-function: linear;
|
| 58 |
animation-timing-function: linear;
|
| 59 |
-webkit-animation-iteration-count: infinite;
|
|
@@ -62,8 +62,8 @@ body {
|
|
| 62 |
|
| 63 |
/* Death */
|
| 64 |
#death-group {
|
| 65 |
-
-webkit-animation-name: walk;
|
| 66 |
-
animation-name: walk;
|
| 67 |
-webkit-animation-timing-function: ease;
|
| 68 |
animation-timing-function: ease;
|
| 69 |
-webkit-animation-iteration-count: infinite;
|
|
@@ -121,6 +121,26 @@ body {
|
|
| 121 |
height: 100%;
|
| 122 |
}
|
| 123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
@-webkit-keyframes progress-fill {
|
| 125 |
0% {
|
| 126 |
x: -100%;
|
|
@@ -141,6 +161,25 @@ body {
|
|
| 141 |
}
|
| 142 |
}
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
@-webkit-keyframes walk {
|
| 145 |
0% {
|
| 146 |
transform: translateX(0);
|
|
|
|
| 1 |
/*
|
| 2 |
Svg Projects
|
| 3 |
+
Author: Jonathan Trancozo, Jaerin Lee
|
| 4 |
Language: HTML, CSS3 and SVG
|
| 5 |
Project_version: V1
|
| 6 |
Project_description:
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
#progress-time-fill {
|
| 55 |
+
-webkit-animation-name: idle-fill; /* progress-fill; */
|
| 56 |
+
animation-name: idle-fill; /* progress-fill; */
|
| 57 |
-webkit-animation-timing-function: linear;
|
| 58 |
animation-timing-function: linear;
|
| 59 |
-webkit-animation-iteration-count: infinite;
|
|
|
|
| 62 |
|
| 63 |
/* Death */
|
| 64 |
#death-group {
|
| 65 |
+
-webkit-animation-name: idle; /* walk; */
|
| 66 |
+
animation-name: idle; /* walk; */
|
| 67 |
-webkit-animation-timing-function: ease;
|
| 68 |
animation-timing-function: ease;
|
| 69 |
-webkit-animation-iteration-count: infinite;
|
|
|
|
| 121 |
height: 100%;
|
| 122 |
}
|
| 123 |
|
| 124 |
+
@-webkit-keyframes idle-fill {
|
| 125 |
+
0% {
|
| 126 |
+
x: -100%;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
100% {
|
| 130 |
+
x: -100%;
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
@keyframes idle-fill {
|
| 135 |
+
0% {
|
| 136 |
+
x: -100%;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
100% {
|
| 140 |
+
x: -100%;
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
@-webkit-keyframes progress-fill {
|
| 145 |
0% {
|
| 146 |
x: -100%;
|
|
|
|
| 161 |
}
|
| 162 |
}
|
| 163 |
|
| 164 |
+
@-webkit-keyframes idle {
|
| 165 |
+
0% {
|
| 166 |
+
transform: translateX(0);
|
| 167 |
+
}
|
| 168 |
+
100% {
|
| 169 |
+
transform: translateX(0);
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
@keyframes idle {
|
| 174 |
+
0% {
|
| 175 |
+
transform: translateX(0);
|
| 176 |
+
}
|
| 177 |
+
100% {
|
| 178 |
+
transform: translateX(0);
|
| 179 |
+
}
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
|
| 183 |
@-webkit-keyframes walk {
|
| 184 |
0% {
|
| 185 |
transform: translateX(0);
|