:read-write CSS Pseudo Class
Description
The :read-write
pseudo-class applies to form fields that are editable. The :read-write
pseudo class is the opposite of its action :read-only
, which applies to fields with the readonly attribute ( read-only ).
Syntax
input:read-write { ... }
Example
<p>
<input type="text" size="40" value="Entered text can not be changed." readonly>
</p>
<p>
<input type="text" size="40" value="This text is you can change.">
</p>
<p>
<input type="submit" value="Submit">
</p>
input:read-write {
border: 1px solid green;
}
Browser Support
Desktop | |||||
X | 13 | 1 | 78 | 9 | 4 |
Tablets / Mobile | |||||
![]() |
|||||
≤37 | 18 | 4 | 10.1 | 3.2 | 1.0 |
Last updated by CSSPortal on: 25th November 2019