Edit online

calc() Function

The calc() function allows mathematical expressions with addition (+), subtraction (-), multiplication (*), division (/) to be used as component values. Percentages are solved relative to the dimensions of the containing parent block. It can be used when length values are accepted:

elem {
	width: calc(100% - 1em);
}

For more information, see: https://drafts.csswg.org/css-values-3/#calc-notation