Oftentimes, we want to limit the width of an element relative to its parent, and at the same time, to make it dynamic. So having a base width or height with the ability to make it extend based on the available space. Let’s say, for example, that we have a button that should have a minimum width, where it shouldn’t go below it. This is where the maximum and minimum properties become handy. In this
![Min and Max Width/Height in CSS](https://cdn-ak-scissors.b.st-hatena.com/image/square/5a3b5b3b0bc108ce6e2b83f8e2ec58c367cd30ac/height=288;version=1;width=512/https%3A%2F%2Fishadeed.com%2Fassets%2Fmin-max%2Fmin-width-2.png)