I'd like half of my display picture to overlap the carousel image at the top and be centered. The carousel should serve as a cover page similar to Facebook.
.dp-container{
width: 200px;
height: 200px;
border: 2px solid black;
margin-top: -100px;
padding: 1px;
z-index: 1000;
background-color: rgb(220,220,220);
}
<div id="carouselExampleControls" class="carousel slide lessz" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="carousel1.jpg" class="d-block w-100" height="400">
</div>
<div class="carousel-item">
<img src="carousel2.jpg" class="d-block w-100" height="400">
</div>
<div class="carousel-item">
<img src="carousel3.jpg" class="d-block w-100" height="400">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</a>
</div>
<img src="mydp.jpg" class="dp-container container">