What is the correct syntax when setting the background-image in CSS? In visual studio, there seems to be no problem in the background since it appears. But in the browser li
That's correct syntax. Have you checked whether the image is in the right location?