Put transitions back

Accidental deleted the transition property when I was cleaning up the
CSS in the last commit. Put it back so that we have pretty animations
again.