I want to create a unique login page using bootstrap. My goal is to have an image on the left side and a form on the right side of the page. I need it to be responsive so that the image will disappear on smaller screens to prevent distortion.
However, I am facing an issue where the image is not fully visible and gets "cut off" when it reaches the end of the form.
Below is my HTML code:
<div class="container-fluid">
<div class="row">
<div class="col-md-6 background_image">
</div>
<div class="col-md-6">
<!-- LOGIN FORM HERE -->
</div>
</div>
</div>
I have attempted to use the following CSS without success:
.background_image{
background-image: url(/static/picture.jpg);
background-size: cover;
background-position: center center;
display: flex;
}
For a better visual representation, you can view the image here.
How can I ensure that the entire left side of the screen is filled with the image?