From 343594365c3d32fae5aa60bb538ddc3bbb54b82a Mon Sep 17 00:00:00 2001 From: Deepak Kumar Date: Mon, 4 Jan 2021 22:01:17 +0530 Subject: [PATCH] Button Styling for Reset Button --- docs/index.html | 1 + src/parts/_forms.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/index.html b/docs/index.html index 850c60f..d6ffd9d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -231,6 +231,7 @@ +

Code

diff --git a/src/parts/_forms.css b/src/parts/_forms.css index a8a5793..00584ac 100644 --- a/src/parts/_forms.css +++ b/src/parts/_forms.css @@ -1,6 +1,7 @@ button, select, input[type='submit'], +input[type='reset'], input[type='button'], input[type='checkbox'], input[type='range'], @@ -96,6 +97,7 @@ select[multiple] { button, input[type='submit'], +input[type='reset'], input[type='button'] { padding-right: 30px; padding-left: 30px; @@ -103,6 +105,7 @@ input[type='button'] { button:hover, input[type='submit']:hover, +input[type='reset']:hover, input[type='button']:hover { background: var(--button-hover); } @@ -117,6 +120,7 @@ textarea:focus { input[type='checkbox']:active, input[type='radio']:active, input[type='submit']:active, +input[type='reset']:active, input[type='button']:active, input[type='range']:active, button:active {