html horizontal scroll off code example
Example 1: DISABLE the Horizontal Scroll
html, body {
max-width: 100%;
overflow-x: hidden;
}
Example 2: how to stop a page from scrolling horizontally
overflow-x: hidden
html, body {
max-width: 100%;
overflow-x: hidden;
}
overflow-x: hidden