Background image

Background image
0.0 0

#1

Please someone should help figure out what is wrong with the code. background image not showing


#2

Because your div is empty, You need a height CSS property.

<div class="hero">
</div>

Otherwise, the image is displayed but with a div that is 0px tall, you can’t see anything.


#3

done but the image is not covering the whole width of the page.


#4

You need a bigger image, or just do this

  background-size: 100%;

#5

not working


#6

You need to be detailed oriented. Check your spelling.


#7

working now…thanks so much