Html
    Css
    Js

    
                        
 * {
	margin:0;
	padding:0;
}
body {
	overflow:hidden;
}
#box {
	float:right;
	top:0;
	right:0;
	width:20px;
	background:#ccc;
	position:relative;
}
#drag {
	position:absolute;
	top:0
 left:0;
	width:20px;
	background:green;
}
#content {
	position:absolute;
	left:0;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:2.1.1
 立即下载

滚动条兼容weikit内核

0