Hide scrollbar but keep its functionality To hide the scrollbars, but still be able to keep scrolling, you can use the following code.