:read-write is a CSS pseudo-class selector that matches elements that are editable by the user.
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".
Elements that fall into the editable category include:
<input>
elements (of any type) that are not read-only and that are not disabled. This means that they have neither the readonly
attribute set, not the disabled
attribute.<textarea>
s that are neither read-only nor disabled (similar to the input
s).<input>
or a <textarea>
, and that has the contenteditable
attribute set.:read-write {css declarations;}
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".