transition class can take format of "enter,leave"