disable y scroll css code example Example: css how to remove horizontal scrollbar html, body { max-width: 100%; overflow-x: hidden; }