Sign in
Log inSign up

What are some CSS psuedo classes to use with forms?

Melvin Smith's photo
Melvin Smith
·Oct 7, 2016

I'm a fan of :required class! along its HTML counterpart, it helps you skip some javascript that you'd usually put in for form validation.

What are some other psuedo classes(and attributes) that can be used with forms to enhance the functionality without adding much javascript.