CSS3 Click Chart

Values Using calc()

Allows you to use a function in place of a length value to calculate the size or shape of an element instead of defining it explicitly.

Specification

calc() on W3C

Example Code

Live Demonstration

The width of this element is 70% minus 50px, using the calc() function.

Browser Support

Tools / Polyfills

Tutorials / Articles

calc() on MDN
CSS3 calc() on Mozilla Hacks
CSS3 Gems: The calc() Function

Fork me on GitHub