css refac and animation number