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