css calc height code example
Example 1: css calc height
div {
width: calc(100% - 100px);
}
Example 2: css calc
body {
width: calc(100vw - 8px);
height: calc(100vh - 8px);
}
Example 3: calc css float to procent
padding-bottom: calc(100% * 9/21);