From 0007e50506ebaa61554bfd11e98581dada7e0cdd Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 15 Aug 2023 15:10:04 +0200 Subject: animations!! --- style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'style.css') diff --git a/style.css b/style.css index 8ffcee1..3a97ff1 100644 --- a/style.css +++ b/style.css @@ -105,6 +105,10 @@ img { .battle__monster-sprite img.damaged { filter: brightness(2); } +.battle__monster-sprite__animation { + position: fixed; + z-index: 10; +} .battle__monster-technique { background-color: beige; @@ -145,6 +149,11 @@ img { transition: background-color; } +.moveset__item[disabled] { + color: #ebebeb; +} + + #enemy { position: relative; user-select: none; @@ -172,7 +181,7 @@ img { .damage { position: absolute; - color: red; + z-index: 11; animation: float-up-and-disappear; } -- cgit v1.2.3