Skip to content

Commit

Permalink
Fixed CSS selector issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtraversy authored Jan 29, 2025
1 parent 9409685 commit a90f6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions form-input-wave/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ body {
transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control input:valid + label span {
.form-control input:focus ~ label span,
.form-control input:valid ~ label span {
color: lightblue;
transform: translateY(-30px);
}

0 comments on commit a90f6d3

Please sign in to comment.