Add reset button style

This commit is contained in:
Joachim 2021-12-17 17:29:46 +01:00
parent 2544ea12c7
commit f300104c4d

View file

@ -8,6 +8,36 @@ body {
flex-direction: column; flex-direction: column;
} }
button {
border: none;
margin: 0;
padding: 0;
width: auto;
overflow: visible;
background: transparent;
/* inherit font & color from ancestor */
color: inherit;
font: inherit;
/* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
line-height: normal;
/* Corrects font smoothing for webkit */
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
/* Corrects inability to style clickable `input` types in iOS */
-webkit-appearance: none;
}
button::-moz-focus-inner {
/* Remove excess padding and border in Firefox 4+ */
border: 0;
padding: 0;
}
/* Better accessibility for keyboard users */ /* Better accessibility for keyboard users */
*:focus-visible { *:focus-visible {
outline-style: auto !important; outline-style: auto !important;