From bf940e4049ea39dc84f6c837bba094ba441cc491 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 7 Nov 2024 16:21:06 +0100 Subject: Add active state for buttons --- public/site.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/site.css b/public/site.css index 8599a93..0da5540 100644 --- a/public/site.css +++ b/public/site.css @@ -65,6 +65,14 @@ button:hover { background: linear-gradient(#ffe, #eec); border-color: #cc9; } +button:active { + background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#ddd)); + background: -webkit-linear-gradient(#ccc, #ddd); + background: -moz-linear-gradient(#ccc, #ddd); + background: -o-linear-gradient(#ccc, #ddd); + background: linear-gradient(#ccc, #ddd); + border-color: #aaa; +} #loader { position: fixed; left: 0; -- cgit v1.2.3