The <form> element
Try it
It is possible to use the :valid
and :invalid
CSS pseudo-classes to style a <form>
element based on whether the elements
inside the form are valid.
It is possible to use the :valid
and :invalid
CSS pseudo-classes to style a <form>
element based on whether the elements
inside the form are valid.