Home > Net >  Cant insert image into CSS, I can only see a little blank square box
Cant insert image into CSS, I can only see a little blank square box

Time:05-10

I am trying to create a website. I have a basic knowledge of HTML and CSS. I am using file base from hostinger and directly creating the code and at the same time updating the site so I see the progress. But I'm stuck and it says "expected <br-image>" and RBRACE. Anyone knows how to proceed with this.

enter image description here

enter image description here

CodePudding user response:

well you have done a typeError i.e you havend given "" in url("").

use

url("filelocation")

it should works

CodePudding user response:

Please don't share your codes as a image.

expected <bg-image> but found linear-gradient the error says it all, it expects a background image, but it found linear-gradient.

Try this one:

background-image: url('images/kashmir9_cleanup.png');
  • Related