Skip to content

Commit

Permalink
Update hover effect on checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
dross20 committed Oct 25, 2024
1 parent 952f58d commit 54d3512
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DonationForm/DonationForm.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ form label {
color: black;
box-sizing: border-box; /* Ensure padding doesn't affect width */
font-family: 'DM Sans', sans-serif; /* Apply DM Sans to labels */
transition: 0.3s;
}

form input[type="checkbox"],
Expand Down
6 changes: 6 additions & 0 deletions src/DonationItemForm/DonationItemsForm.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ h2 {
margin-bottom: 10px;
font-size: 16px;
box-sizing: border-box;
transition: 0.3s;
}

.checkbox-label:hover {
border-color: #1a73e8;
transition: 0.3s;
}

.checkbox-label input {
Expand Down

0 comments on commit 54d3512

Please sign in to comment.