禁用滚动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
}
如果没有溢出,则在css中隐藏滚动条
.myClass {
/*auto will remove and add the scroll bar as needed*/
overflow: auto;
}