From 0b592dbf6c31ce8d0aa873abe3a9e804715f0df8 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 1 Aug 2021 15:50:14 -0400 Subject: [PATCH] Added sidebar opacity on hover --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index c456b0c..4f383b8 100755 --- a/style.css +++ b/style.css @@ -108,6 +108,18 @@ body > header { } +/**********************************/ +/* 2a. Sidebar hover effect */ + +#sidebar { + opacity: 0.2; + transition: opacity 1.5s; + } + +#sidebar:hover { + opacity: 1.0; + } + /**********************************/ /* 3. Top Elements */