스크롤 css 사용 안 함
/* Answer to: "disable scroll css" */
/*
You must set the height and overflow of the body, to disable
scrolling.
*/
html, body {
margin: 0;
height: 100%;
overflow: hidden
}
가로 스크롤 비활성화
html, body {
max-width: 100%;
overflow-x: hidden;
}
가로 스크롤 막대 css 숨기기
.x-scroll-disabled {
overflow-x: hidden;
}
가로 스크롤 막대 css 제거
overflow-x: hidden;
페이지가 가로로 스크롤되는 것을 중지하는 방법
overflow-x: hidden