Using CSS Containment Context to Remove a Horizontal Scrollbar

Creating full-width elements that break out of parent containers can cause horizontal scrollbars. CSS containers provide an easy way to avoid horizontal scrollbars.