scss calc with % and px code example Example: css calc body { width: calc(100vw - 8px); height: calc(100vh - 8px); }