Skip to content

Commit

Permalink
Changes how the radio buttons are hidden. Fixes mikebryant#343
Browse files Browse the repository at this point in the history
  • Loading branch information
David Corry committed May 6, 2020
1 parent 32624a1 commit dec7692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ input[type=number] {
}

.input__radio-buttons input[type=radio] {
display: none;
display: fixed;
opacity: 0;
}

.input__radio-buttons input[type="radio"]+label {
Expand All @@ -285,6 +286,7 @@ input[type=number] {
margin: 8px;
}

.input__radio-buttons input[type="radio"]:focus+label,
.input__radio-buttons input[type="radio"]:not(:checked)+label:hover {
cursor: pointer;
background: #F5F8FF;
Expand Down

0 comments on commit dec7692

Please sign in to comment.