This CSS Short explains why setting width to 100vw on a block-level element is usually unnecessary, since block elements already fill the available horizontal space and the declaration can cause layout issues.
What you’ll learn
✓Avoid setting width 100vw on block elements that already fill their container