Blurred

Mark Birbeck's picture

The :blurred pseudo-class is applied to controls that have received focus at some point. A typical use is to style invalid controls in such a way that they are not shown as invalid (for example, with a red border) until the user has visited them.

A control that has had the focus can be styled as follows:

.pc-blurred
{
  border : 1px solid blue;
}