optimize spinning animation css for validator