xxxxxxxxxx
//This codes disables scrolling and also hides the scrollbar
.noscroll{
overflow: hidden;
}
xxxxxxxxxx
/* Method 1 - Disable scroll completely */
body {
overflow: hidden;
}
/* Method 2 - Disable vertical scroll only */
body {
overflow-y: hidden;
}
/* Method 3 - Disable horizontal scroll only */
body {
overflow-x: hidden;
}