ExampleSet a background color for all enabled input elements of type="text":
Try it yourself » |
The :enabled selector matches every enabled element (mostly used on form elements).
The :enabled selector is supported in all major browsers, except Internet Explorer.
![]() |
Try it Yourself - Examples |
ExampleSet a background color for all enabled input elements:
Try it yourself » |