From 1cce73db41cd1e1f11e0628a8039ca8f4dbe5eed Mon Sep 17 00:00:00 2001 From: luca0N! Date: Mon, 16 Aug 2021 16:53:34 -0300 Subject: [PATCH] Add transition effect to box-shadow --- res/Stairway-js.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/Stairway-js.css b/res/Stairway-js.css index bdefd2b..d24ca1a 100644 --- a/res/Stairway-js.css +++ b/res/Stairway-js.css @@ -116,10 +116,12 @@ body { padding: 15px; background-color: #feffea; box-shadow: 0 0 12px #0004; + + transition: box-shadow 0.1s; } .section-question:hover { - box-shadow: 0 0 24px #0008; + box-shadow: 0 0 18px #0008; } #warning {