jquery实现一个不显示滚动条的左右拖拽容器内内容效果代码
代码语言:html
所属分类:拖放
代码描述:jquery实现一个不显示滚动条的左右拖拽容器内内容效果代码
代码标签: jquery 不显示 滚动条 左右 拖拽 容器内 内容
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box{
width:400px;
overflow: auto;
white-space: nowrap;
background: #eee;
border:5px solid #aaa;
}
.box>span{
display: inline-block;
height:100px;
}
/* H5的时候,隐藏滚动条 */
::-webkit-scrollbar {
display: none;
width: 0 !important;
height: 0 !imp.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0