Added animation CSS constants section

For consistency of CSS transitions and animation constants section has
been added to the CSS with a transition duration value.