simple-scrollbar实现指定dom元素内容滚动条效果代码
代码语言:html
所属分类:加载滚动
代码描述:simple-scrollbar实现指定dom元素内容滚动条效果代码
代码标签: simple-scrollbar 内容 滚动条
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/simple-scrollbar.css"> <style> body { font-family: 'Open Sans'; background-color: #C0392B; } </style> </head> <body> <div style="height: 300px; width: 400px; margin:150px auto; display: inline-block; background-color:#ECF0F1; color:#444;" data-ss-container> <h1>SimpleScrollbar.js</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus posuere sed orci sit amet molestie. Sed quis luctus lorem, non pellentesque nisl. Phasellus pulvinar, lacus vulputate venenatis tincidunt, augue purus ornare ante, vitae accumsan elit lacus vel tellus. Aliquam euismod efficitur orci, eget varius mi laoreet a. Morbi feugiat, risus a lobortis convallis, velit nisi feugiat urna, vitae molestie odio metus et felis. In vestibulum sapien augue, quis bibendum purus fermentum quis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque elementum eros libe.........完整代码请登录后点击上方下载按钮下载查看
网友评论0