Question · HTML and CSS course · Module 9: Modern CSS
The clamp() Function in CSS
What does the clamp(min, preferred, max) function do in CSS?
Answer options
- Clamps a value between a minimum and maximum with a preferred middle value
- Clips overflow
- Rounds values
- Compresses images
You can check the correct answer by solving this task in the CodeWorlds game.