CSS :read-write pseudo-class
- Page ya kuzingatia kuzingatia :read-only
- Page ya kuzingatia :required
- Rudi kufikia ukubwa wa juu Kitabu cha Mafanikio ya Kinaia cha CSS
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 the disabled attribute are defined as 'readable and writable'.
Example
Select and set the style of the editable input elements:
input:read-write { background-color: beige; border: 2px solid maroon; }
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 |
Vipindi vya habari vya kina
- Page ya kuzingatia kuzingatia :read-only
- Page ya kuzingatia :required
- Rudi kufikia ukubwa wa juu Kitabu cha Mafanikio ya Kinaia cha CSS