I'm having trouble displaying an image in a section of my website.
Below is the CSS code for that specific section:
#start{
height: 100vh;
display:block;
text-align: center;
}
.start-img{
background-image: url("assets/img/bg.png");
display:block;
}
.section{
height: 100vh;
}
And here is the corresponding HTML:
<section id="start">
<div class="strt-img">
</div>
</section>