DEV Community

Discussion on: How to create fully responsive product card using pure HTML, CSS.

meegod profile image

Can you explain the use of minheiht

kunaal438 profile image
Modern Web Author

Yeah min-height is a css property that defines element's minimum height. For instance if i set "div" height to 50vh and set its min-height to 300px then its height will be 50vh of screen but can never be less than 300px. I hope you understood. ☺️