remove div scroll vertical code example
Example 1: hide scrollbar html css
/* On Chrome */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* For Firefox and IE */
.hide-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
}
Example 2: how to remove scrollbars using javscript
body {
overflow-y: hidden; /* Hide vertical scrollbar */
overflow-x: hidden; /* Hide horizontal scrollbar */
}