CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS calc() Function

CSS calc() Function



The calc() function is used to perform a calculation that will be used as the property value.




Its syntax is:- calc(expression)


Further Explanation:-


Value Description
expression Required. A mathematical expression whose result will be used as the value.

Code Explanation

All Tutorials related to CSS Functions

All Sections related to CSS