viewport width without scrollbar code example Example: css vw scrollbar body { width: calc(100vw - (100vw - 100%)); }