<style> /* * 控制ie 滚动条颜色 * scrollbar-face-color 滚动条颜色 */ div{ scrollbar-face-color: #DDDDDD; scrollbar-shadow-color: #DDDDDD; scrollbar-highlight-color ...
分类:
其他好文 时间:
2016-09-15 08:37:46
阅读次数:
166
罗列下 js 和 jquery 里面获取宽高的方法: obj.offsetWidth = $obj.outerWidth() // offsetWidth obj.clientWidth = obj.scrollWidth // offsetWidth - border - scrollbar $o ...
分类:
Web程序 时间:
2016-09-14 16:51:45
阅读次数:
108
/***滚动条**/ ::-webkit-scrollbar { width: 8px; height: 6px} /* 滚动槽*/ ::-webkit-scrollbar-track { background:rgba(239,239,239,1)} /* 滚动条滑块*/ ::-webkit-sc ...
分类:
其他好文 时间:
2016-09-10 10:19:19
阅读次数:
158
1、如果你的scrollbar是Vertical的,设置以下属性 2、如果你的scrollbar是horizontal的,设置以下属性 android:scrollbarThumbVertical和android:scrollbarThumbHorizontal设置的是滚动条指示器的图片,会跟着滑动 ...
分类:
移动开发 时间:
2016-09-08 12:44:54
阅读次数:
140
ScrollBar.js是一个仅仅120行的滚动条JS插件,使用非常方便 详情阅读:https://git.oschina.net/wuquanyao/scrollbar.js/* * ScrollBar.js beta * Author:wuquanyao * Email: ScrollBar.j ...
分类:
编程语言 时间:
2016-08-30 22:48:48
阅读次数:
1217
用css实现样式滚动条 .box{ width:300px; height:300px; overflow: auto; } .box::-webkit-scrollbar { width:10px; height:10px; } ul{ padding-top: 20px; ... ...
分类:
Web程序 时间:
2016-08-21 18:14:09
阅读次数:
126
用css实现样式滚动条 .box{ width:300px; height:300px; overflow: auto; } .box::-webkit-scrollbar { width:10px; height:10px; } ul{ padding-top: 20px; ... ...
分类:
Web程序 时间:
2016-08-21 16:51:18
阅读次数:
206
<style>/* 设置滚动条的样式 */::-webkit-scrollbar {width: 12px;}/* 滚动槽 */::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);border-ra ...
分类:
其他好文 时间:
2016-08-21 00:52:18
阅读次数:
126
界面是人机交互的门户,对产品至关重要。在界面开发中只有想不到没有做不到的,有好的想法,当然要尝试着做出来。对滚动条的扩展,现在有很多类是的例子。 VS2015的代码编辑是非常强大的,其中有一个功能可以把滚动态变成MinMap,可以通过Options->Text Editor->C/C++->Scro ...
分类:
其他好文 时间:
2016-08-19 22:13:37
阅读次数:
266
<style id="__wechat_default_css">::-webkit-scrollbar{ width: 10px; height: 10px; background-color: #FFF;}::-webkit-scrollbar-button:start:decrement,:: ...
分类:
移动开发 时间:
2016-08-18 14:31:27
阅读次数:
227