You can use CSS transitions to change property values from one value to another smoothly over a set period of time using the puesdo-class :hover. Hovering your mouse over the div:hover allows the transition to display the new properties.