:active
This is used to give styling to an activated element. An element is activated while the user is clicking it or touching it. It is often used on links ( <a> ) though it can be used in most elements, in the example it is used on a div.