boredbutton3

Log | Files | Refs | README

commit 7949d5871d1381f138b41cbabfee4499c3d2eb0d
parent cf88abc22d2d95dbe290d2493d1e5a1853ea2434
Author: William Lindholm <william_lindholm@outlook.com>
Date:   Mon, 20 Dec 2021 01:12:45 +0100

Added hover effect to text.

Diffstat:
Mstyle.css | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/style.css b/style.css @@ -65,10 +65,14 @@ canvas{ font-size: 1.8em; font-family: krublight; z-index: 10; + border-radius: 5px; + transition: background-color 1s, box-shadow 1s; } #fact_text:hover { - background-color: rgba(255, 255, 255, 0.5); + background-color: rgba(242, 242, 242, 0.7); + box-shadow: 0 0 20px rgba(242, 242, 242, 0.9); + } @keyframes appear {