style background-image with loading class