Added CSS transition and sorted indent
Linting