:read-only and :read-write

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.

Test sheet:

input:read-write {
	color: #00882D;
	font-weight: bold;
}

input:read-only {
	color: #CB000F;
}