Creating a custom focus style

How to create (and change) a focus style easily with CSS.
Source: Codementor