Skip to content

Commit

Permalink
updating styling on basic required example
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills committed Jan 17, 2020
1 parent 19f96a2 commit 52d0d71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions html/forms/form-validation/fruit-required.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
border: 2px dashed red;
}

input:invalid:required {
background-image: linear-gradient(to right, pink, lightgreen);
}

input:valid {
border: 2px solid black;
}
Expand Down

0 comments on commit 52d0d71

Please sign in to comment.