1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

hide radios and checkboxes when appearance: none doesn't cut it

fixes #76
This commit is contained in:
Jordan Scales
2020-05-02 09:15:09 -04:00
parent 4fb66b5fef
commit 58ae88c0d6

View File

@@ -281,7 +281,9 @@ input[type="checkbox"] {
-webkit-appearance: none;
-moz-appearance: none;
margin: 0;
background: 0; /* necessary for hiding default disabled-state styling on iOS */
background: 0;
position: fixed;
opacity: 0;
border: none;
}