From 94f9bdf20df4d728b6f787a59812cb4448080347 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 16 May 2022 18:19:18 -0700 Subject: web: add throw animation --- web/static/style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'web/static/style.css') diff --git a/web/static/style.css b/web/static/style.css index 47ae365..57c670a 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -372,6 +372,16 @@ body { filter: drop-shadow(0 0 0.4rem #111); } +@keyframes throw-anim { + 0% { transform: scale(8); } + 100% { transform: scale(1); } +} + +#controls #keypad-dartboard #dartboard g.overlay circle:last-child { + transform-box: fill-box; + transform-origin: center; +} + #controls .key { color: #ccc; background-color: #282828; -- cgit v1.2.3-70-g09d2