Change css for animation