Skip to content

Glossary: CSS Layout and Responsive Design

calc()

A CSS function that does arithmetic with mixed units, like `calc(100% - 2rem)`. Leave spaces around `+` and `-`.

Where the book teaches it

Related terms

clamp()min()