Used prefixr to add browser specific styles for animations. Also had to manually add the transition-property because prefixr kept messing up the change.