I am currently utilizing Bootstrap in conjunction with Django, and I have been attempting to establish the maximum height of a div to be 75% of the screen's height due to it containing a large image. However, my efforts to resize the parent div of the image to occupy 75% of the device screen have proven fruitless. I have attempted using class="mh-75"
, but to no avail. Furthermore, I even tried loading a static CSS file to apply styling with max-height: 75%
, yet this approach also failed. Here is the code snippet:
img-wid
style defined:.img-wid{ max-width: 99.999%; }