Cross Browser calc

Cross Browser calc

Calc is the method of allowing calculated values for length units.

Browser Support

calc is already supported by all major browser so it should be really easy to get it working cross browser.

Code Example

You can use calc like this:

#test {
  height: calc(100% - 3em);
}

More Information

More information can be found here.

Similar Posts