:focus

Back to the index.

The :focus pseudo-class specifies styles for a focused form element.

Testsheet:

input:focus {
	width: 5em;
	background-color: #6374AB;
}



The texts are labels; clicking on them should also cause focus styles.