Definition and Usage
The :read-write CSS pseudo-class matches when an element is editable by user like text input element.
Examples
input:-moz-read-write { background: #eee; }
input:read-write { background: #eee; }
Compatibility
Desktop browsers
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|
Basic support | (Yes) | (Yes)-moz (bug 312971) | NA | NA | (Yes) |
Editable element (except to text input fields) | Not supported | (Yes)-moz (bug 312971)) | Not supported | Not supported | Not supported |
Mobile browsers
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|
Basic support | NA | NA | (Yes)-moz (bug 312971) | NA | NA | NA |
Editable element (except to text input fields) | Not supported | Not supported | (Yes)-moz (bug 312971) | Not supported | Not supported | Not supported |