disable horizontal scrolling css mobile code example
Example 1: css disable scroll mobile
html,
body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
}
Example 2: prevent x axis scrolling on mobile
<meta name="viewport" content="user-scalable=0;"/>