Easy Tutorial
❮ Pr Text White Space Css3 Pr Flex Shrink ❯

CSS :read-write Selector

Complete CSS Selectors Reference

Example

If the input element is not read-only, i.e., it does not have the "readonly" attribute, set the input box style to yellow:


Definition and Usage

The :read-write selector is used to match elements that are both readable and writable.

Note: Currently, in most browsers, the :read-write selector is only applicable to input and textarea elements.


Browser Support

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

Selector
:read-only Supported Not supported -moz- Yes Yes

CSS Syntax


Related Pages

CSS Selectors :read-only


Complete CSS Selectors Reference

❮ Pr Text White Space Css3 Pr Flex Shrink ❯