My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

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.