<?xml version="1.0" encoding="utf-8"?>

CSS min-height property

The min-height property defines the minimum height of an element. If the min-height of an element is 108px, it won't become smaller even if the content takes up less space or there's no content at all. If the content is larger than the minimum height, the min-height property has no effect.

Pro Tip: The min-height overrides the height and max-height properties.

Top contributors

Eleazar Quezada

Topics

Share

Improve your UX & Product skills with interactive courses that actually work