From e082bf7164701100818cf3af9fa2a9e255a9dd29 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 11 Aug 2021 18:54:17 +0200 Subject: [PATCH] Feat: button with hover --- src/style.css | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/style.css b/src/style.css index 22ba618..8acbdc5 100644 --- a/src/style.css +++ b/src/style.css @@ -6,7 +6,6 @@ } button { - border: none; color: white; padding: 15px 32px; box-shadow: 1px 1px 2px gray; @@ -18,11 +17,26 @@ button { color: white; } .validate { + border: 2px solid green; + color: green; +} +.validate:hover { background-color: green; + color: white; } .cancel { + border: 2px solid red; + color: red; +} +.cancel:hover { background-color: red; + color: white; } .edit { - background-color: orange; + border: 2px solid orange; + color: orange; +} +.edit:hover { + background-color: orange; + color: white; }