fix(#1307) add appearance:none to .btn to strip browser UA button chrome
This commit is contained in:
parent
6c16d25039
commit
cf6479b3a9
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ code {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
/* Strip browser UA button chrome (solid fill, system text colour).
|
||||||
|
Without this, native <button> + <input type="submit"> elements
|
||||||
|
ignore our background:transparent and colour in some browsers. */
|
||||||
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
padding: 0.25em 0.8em;
|
padding: 0.25em 0.8em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue