From 2d332128d93aae048f7aa413462ff4cec5057961 Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Thu, 17 Nov 2022 17:27:19 +0100 Subject: [PATCH] Added hover animation --- resources/views/panel/config-editor.blade.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/views/panel/config-editor.blade.php b/resources/views/panel/config-editor.blade.php index 42584cf..53bd9a9 100644 --- a/resources/views/panel/config-editor.blade.php +++ b/resources/views/panel/config-editor.blade.php @@ -36,6 +36,13 @@ height: 100px; padding: 20px; border-radius: 5px; + -webkit-transition-duration: 0.3s; + transition-duration: 0.3s; +} +.option:hover, .option:focus, .option:active { + -webkit-transform: scale(1.01); + transform: scale(1.01); + box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); } .opt-img{ font-size: 4rem;