I am attempting to create a design where my main container slightly overlaps on top of my jumbotron. I have experimented with the "my, mb, py, pb" properties, but have not achieved the desired overlap.
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1>Jumbotron H text</h1>
<p>Text</p>
</div>
</div>
<main role="main" class="container">
<div class="d-flex align-items-center p-3 my-3 text-white-50 bg-purple rounded box-shadow">
<div class="lh-100">
<h6 class="mb-0 text-white lh-100">
<?php
if(isset($_SESSION) && isset($_SESSION['login'])){ ?>
Welcome <?php echo $username; ?>
</h6>
<small>Since <?php echo $created; ?></small>
<?php }else{ ?>
Please <a href="login.php">Sign in</a> or <a href="register.php">Register</a>
<?php } ?>
</div>
</div>
My goal is to have the jumbotron span the full horizontal width, with the content overlapping about halfway over the jumbotron on top. I tried implementing position absolute on the jumbotron as suggested, but it resulted in the jumbotron being squished.