Question · HTML and CSS course · Module 9: Modern CSS
The calc() Function in CSS
What does the calc() function in CSS allow?
Answer options
- Mixing colors in one value
- Performing math calculations, including mixing different units, e.g. calc(100% - 50px)
- Reading an HTML attribute value
- Creating animations with keywords
You can check the correct answer by solving this task in the CodeWorlds game.