added new css for transition.