I am experiencing an issue with a div that contains an image. The image is not respecting the size of the div and is overlapping it.
.bs-col-md-6 {
box-sizing: border-box;
-ms-flex-positive: 0;
flex-grow: 0;
0;
*/ -ms-flex-negative: 0;
flex-shrink: 0;
padding-left: 15px;
padding-right: 15px;
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}
.bsp-login-banner {
position: fixed;
top: 0;
left: 0;
width: 50%;
height: 100%;
object-fit: cover;
z-index: 1;
}
<div class="bsp-xs-hidden bsp-sm-hidden bs-col-md-6">
<img class="bsp-login-banner" src="assets/img/Login.jpg" alt="the image is here" />
</div>
https://i.sstatic.net/IhMTq.jpg
Could someone assist me in resolving this issue?