In this example, we use the :focus selector to add a black border color to the text field when it gets focused (clicked on):