Refactors CSS
Adds transition