1/* Answer to: "disable scroll css" */
2
3/*
4 You must set the height and overflow of the body, to disable
5 scrolling.
6*/
7
8html, body {
9 margin: 0;
10 height: 100%;
11 overflow: hidden
12}
1html {
2 scrollbar-width: none; /* For Firefox */
3 -ms-overflow-style: none; /* For Internet Explorer and Edge */
4}
5
6html::-webkit-scrollbar {
7 width: 0px; /* For Chrome, Safari, and Opera */
8}
1::-webkit-scrollbar {
2 -webkit-appearance: none;
3 width: 7px;
4}
5::-webkit-scrollbar-thumb {
6 border-radius: 4px;
7 background-color: rgba(0, 0, 0, .5);
8 -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
9}