Added CSS annimations and transitions.