Although frontend development is not my expertise, I find myself needing to make adjustments to a Bootstrap-based website. I have been tweaking the heights of a specific div that is defined as follows:
html:
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
css:
.cover-container {
max-width: 42em;
}
Modifying the max-width
in the CSS has successfully altered the shape of the div as desired, but decreasing the h-100
is causing an unexpected result. Even a small adjustment such as changing h-100
to h-99
results in a significant increase in height. Any thoughts on what might be happening and how to make gradual changes?