I am facing a simple yet frustrating issue. I am trying to specify both the minimum and maximum height of a div element.
For instance: setting min-height
to 100px and max-height
to 200px. Initially, the div is loaded with a height of 200px. However, when I resize my browser window, the div adjusts accordingly but stops resizing once it reaches a height of 100px.
It seems that using min-height
and max-height
in CSS is not achieving the desired effect. :/
Any advice or solutions would be greatly appreciated.
Thank you.