Easy Tutorial
❮ Pr Background Attachment Pr Pos Left ❯

CSS3 :enabled Selector

Complete CSS Selector Reference

Example

Set the background color for all enabled input elements with type="text":


Definition and Usage

The :enabled selector matches every enabled element (mainly used for form elements).


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Selector
:enabled 4.0 9.0 3.5 3.2 9.6

More Examples

Example

Set the background color for all enabled input elements:


Complete CSS Selector Reference

❮ Pr Background Attachment Pr Pos Left ❯