I have am using css clamp() to adjust height of my div, but it doesn't work as expected.
.container{
height: clamp(200px, auto, 400px);
}
but works well when
.container{
min-height: 200px;
height: auto;
max-height: 400px;
}
from the documentation css clamp(): MDN Web Docs , it says it does the job of min, value and max. why is it not working?