Back to the index.
See also the CSS3 User Interface spec.
There are several pseudo-classes that are used to style the various states of form elements. This page tests some of them.
:read-only: The field is read-only (readonly attribute).:read-write: The user can write in the field.Test sheet:
input:read-write {
color: #00882D;
font-weight: bold;
}
input:read-only {
color: #CB000F;
}