CSS :read-write Selector
Example
Select and style only if the input element is not "readonly":
input:read-write
{
background-color: yellow;
}
Try it Yourself »
Definition and Usage
The :read-write
selector selects form elements which are "readable" and "writeable".
Form elements with no "readonly" attribute, and no "disabled" attribute are defined as "read-" and "write-able".
Version: | CSS3 |
---|
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Numbers followed by -webkit- or -moz- specify the first version that worked with a prefix.
Selector | |||||
---|---|---|---|---|---|
:read-write | 36.0 | 13.0 | 78.0 3.0 -moz- |
9.0 | 23.0 |
CSS Syntax
:read-write {
css declarations;
}
Related Pages
CSS Selector :read-only
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.