:focus
Un campo di testo:
<p>Un campo di testo: <input type="text"></p>
input:focus {background: yellow;}