Intermediate
HTML & CSS
Q57 / 100
What does the CSS "calc()" function allow?
Correct! Well done.
Incorrect.
The correct answer is A) Performing mathematical calculations to determine CSS property values, optionally mixing units (e.g. "width: calc(100% - 50px)")
A
Correct Answer
Performing mathematical calculations to determine CSS property values, optionally mixing units (e.g. "width: calc(100% - 50px)")
Explanation
calc() lets you combine different units and perform arithmetic directly in CSS values, useful for layouts that mix percentages and fixed sizes.
Progress
57/100