Good morning.
I'm using Bootstrap to develop a website and I'm using a Navbar and a Div with an image, but when I enter the navbar and div with the image, the div starts just below the Navbar and that's not what I expected.
Basically what I want and superimpose this image with navbar, that is, make the div start in the upper corner of the screen and navbar too, overlapping the div.
Can anyone help me?
I already tried to use z-index, however I could not set a value that overlaps my div.
Thanks in advance for your help.
Edit: This part of the code is basically this:
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">Navbar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMain" aria-controls="navbarMain" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarMain">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="solu.html">Soluções</a>
</li>
<li class="nav-item">
<a class="nav-link" href="prod.html">Produtos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="abt.html">Sobre</a>
</li>
</ul>
</div>
</nav>
<div style="min-height: 100vh;width: 100%;background-color: blue">
<p>Div</p>
</div>
A full screen div and a navbar that has to overlap with it, notice that the text "div" is underneath the navbar, he wanted it "to disappear behind the navbar"