I want to add an image as the background of a div, and for this, I'm using the following code:
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="imagemDeFundo">
<p>Hello world</p>
</div>
</div>
</div>
</div>
In my CSS it looks like this:
.imagemDeFundo{
background-image: url(imgs/backgroundpage.png);
width: 400px;
height: 400px;
}
My image is not appearing. What am I doing wrong?