Home > Mobile >  My background image is not coming everything is perfect but still.Why?
My background image is not coming everything is perfect but still.Why?

Time:10-01

Here my file path is absolutely correct I also linked my css file but still the image is not coming as a background

CodePudding user response:

Assuming style.css is in your CSS folder and the image in your images folder, you need to change your url to ../images/services-bg.jpg.

CodePudding user response:

Possibly issue with the height being in pixels, but the width is a %. This could cause a scaling issue.

CodePudding user response:

Possibly the issue is with the direction of the image file, you can double-check the resource direction of the image and make sure the image is on the right path.

  •  Tags:  
  • css
  • Related