Use CSS transitions.