apply css loading icon