From e6f7476037cd1a47750f104ac10fc5d890475a61 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 11 Mar 2023 17:15:59 +0100 Subject: [PATCH] MainNavBar: let space invader rotate on hover --- public/css/default.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/default.css b/public/css/default.css index 032ba30..8e85c9c 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -89,8 +89,12 @@ i.space-invader::before { text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); top: -5px; transform: rotate(-5deg); + transition: 0.25s; width: 110px; } +.navbar-brand:hover i.space-invader::before { + transform: rotate(5deg); +} i.space-invader.alt-1::before { content: 'C'; }