Commit 60cbcf9a by doszhang

dos

parent c71ea918
......@@ -392,4 +392,10 @@ input[name=signature]::-webkit-input-placeholder {
50% {
opacity: 0;
}
}
/* countdown-page */
.countdown-page canvas {
transform: rotate(-90deg);
}
\ No newline at end of file
......@@ -323,7 +323,7 @@ function countDown() {
countDownCtx.fillStyle = '#0f0';
timer = setInterval(function () {
angle = ((angle * 10) - 36) / 10;
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 90, angle).fill();
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 0, angle).fill();
console.log(angle);
if (angle <= 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment