diff options
author | Jonas Kohl | 2024-11-07 16:21:06 +0100 |
---|---|---|
committer | Jonas Kohl | 2024-11-07 16:21:06 +0100 |
commit | bf940e4049ea39dc84f6c837bba094ba441cc491 (patch) | |
tree | 482ca12a8c51a57bd3c6bad2696209cc3d876591 | |
parent | c6ec81174ce04edc2a8ac396e1ef2489e809130a (diff) |
Add active state for buttons
-rw-r--r-- | public/site.css | 8 |
1 files changed, 8 insertions, 0 deletions
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; |