css calc function good? 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);
}
div {
width: calc(100% - 100px);
}
body {
width: calc(100vw - 8px);
height: calc(100vh - 8px);
}