# min()

*noun*

say it: **“MIN”** **/mɪn/**

A CSS function that uses the smallest of the values you give it, often to set a size that can shrink but never grow past a limit.

## What does `min()` do in CSS?

`min()` uses the smallest of several values, so an element never gets bigger than one of them.

```css
.modal { width: min(600px, 90vw); }   /* 600px, but never wider than the screen */
```

## In a sentence

- “The signup card's width is **min()** of 600px and 100%, so on a phone it never runs off the screen.”

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

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/min-css
