Added CSS transitions.