calc()
Read More at MDN DocsView SpecSafe to Use
calc()
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Full Support
Full Support
Before Firefox 59 calc()
is not supported in rgb()
and other color functions.
Before Firefox 57 calc(1*2*3)
is not parsed successfully.
Firefox 57 increased the number of places calc()
could substitute another value. See bug 1350857.
Implemented with the vendor prefix: -moz-
Full Support
Before Firefox 59 calc()
is not supported in rgb()
and other color functions.
Before Firefox 57 calc(1*2*3)
is not parsed successfully.
Firefox 57 increased the number of places calc()
could substitute another value. See bug 1350857.
Implemented with the vendor prefix: -moz-
Full Support
Full Support
Full Support
Full Support
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Full Support
Implemented with the vendor prefix: -webkit-