# Minimum size

*noun*

say it: **“MIN-ih-mum SYZ”** **/ˈmɪnɪməm saɪz/**

The smallest size an element is allowed to be, set with min-width or min-height. The element can grow bigger, but never smaller.

## What do `min-width` and `min-height` do?

**Minimum sizes** stop an element from getting smaller than a set size.

```css
.button { min-width: 120px; }   /* short labels still get a decent button */
```

## In a sentence

- “With a **minimum size** of 120px, the 'Buy' button never shrinks to an unreadable sliver.”

Level: Apprentice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/minimum-size
