Home>

###

I am trying to replicate hp of airbnb using html, css, bootstrap

I want to display a background image in a place that says "background" in the image, but it doesn't work.
How can I get it displayed?

Applicable source code




Share your home, apartment or room on Airbnb
















We'll never share your email with anyone else.














Reasons for hosting on Airbnb


Relief when in trouble


css
.header {
height: 80px;
}

.content-first {
background-image: url (../ pictures/first.png);
background-size: cover;
}

I think the location of the image is correct because the image is displayed when you click on the url.

  • Answer # 1

      

    I think the location of the image is correct because the image is displayed when you click on the url.

    Although there is

    , I think that the link specification method is wrong.
    Try to specify an absolute link.

  • Answer # 2

    The image folder is now displayed if it has been moved. It seems that the link specification method was wrong. Thank you for your answer.