Updated to CSS animations