The :hover selector is used to select elements when you place your cursor over them.

Example:

.selector:hover { 
     background-color: yellow;
}

Source: http://www.w3schools.com/cssref/sel_hover.asp