CSS3 :read-write Selector
Select and style only if the input element is not "readonly":
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".
Note: Currently, in most browsers, the :read-write selector only applies to input and textarea elements, where the "readonly" attribute is not present, regardless if the element is disabled or not.
The :read-only selector is supported in Chrome, Safari and Opera.
Internet Explorer does not support the :read-write selector.
Firefox supports an alternative, the :-moz-read-write selector.
CSS Selector :read-only
Thank You For Helping Us!
Your message has been sent to W3Schools.