Skip to content

Commit

Permalink
Dim the checkbox when its disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
HackettLai committed Aug 31, 2024
1 parent 918b142 commit 82fc64c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ input[type="checkbox"] {
cursor: pointer;
}

input[type="checkbox"]:disabled {
pointer-events: none;
opacity: 0.3;
}


button {
outline: none;
Expand Down

0 comments on commit 82fc64c

Please sign in to comment.