CSS :read-write Pseudo-class

Definition and Usage

CSS :read-write Pseudo-classes are used to select form elements that the user can edit.

Form elements without the readonly attribute and disabled attribute are defined as 'readable and writable'.

Example

Select and set the style of editable input elements:

input:read-write {
  background-color: beige;
  border: 2px solid maroon;
}

Try It Yourself

CSS Syntax

:read-write {
  css declarations;
}

Technical Details

Version: CSS3

Browser Support

The numbers in the table specify the first browser version to fully support the pseudo-class.

Chrome Edge Firefox Safari Opera
1 13 78 4 9

Σχετικές σελίδες

Αναφορά:Ατριβή CSS :read-only