A demonstration of the :read-only selector.

A normal input element:

A readonly input element:

The :read-only selector selects form elements with a "readonly" attribute.