가로 스크롤 비활성화
html, body {
max-width: 100%;
overflow-x: hidden;
}
가로 스크롤 막대 css 숨기기
.x-scroll-disabled {
overflow-x: hidden;
}
가로 스크롤 막대 css 제거
overflow-x: hidden;
페이지가 가로로 스크롤되는 것을 중지하는 방법
overflow-x: hidden
가로 스크롤을 제거하는 방법
/* this works for vertical scrolling also
this is useful for those who can't use overflow: hidden or any other solution
because the css on the website changes in someway */
::-webkit-scrollbar:horizontal {
display: none;
}