Problem Statement
What does the CSS calc() function allow you to do?
Explanation
`calc()` lets you combine different units dynamically (%, px, rem) — for example: `width: calc(100% - 50px);`. Useful for fluid layouts and spacing adjustments.
Code Solution
SolutionRead Only
section { width: calc(100% - 40px); }Practice Sets
This question appears in the following practice sets:
