|
阅读:2638回复:4
有没有把右边的滚动条放到页面上来的方法啊?
最好能用的时候出现,不用的时候隐身。。。
|
|
|
1楼#
发布于:2013-07-12 14:46
我也想要,但是暂时没找到,Mac Style 的滚动条。
|
|
|
|
2楼#
发布于:2013-07-12 14:46
渐隐的暂时没有,不过有透明的。。
:not(hbox) > scrollbar {
-moz-appearance: none!important;
position: relative;
background-color: transparent;
background-image: none;
z-index: 2147483647;
}
:not(hbox) > scrollbar[orient = "vertical"] {
-moz-margin-start: -6px;
min-width: 6px;
}
:not(hbox) > scrollbar[orient = "vertical"] thumb {
min-height: 20px;
}
:not(hbox) > scrollbar[orient = "horizontal"] {
margin-top: -6px;
min-height: 6px;
}
:not(hbox) > scrollbar[orient = "horizontal"] thumb {
min-width: 20px;
}
:not(hbox) > scrollbar thumb {
-moz-appearance: none!important;
border-width: 0px!important;
background-color: rgba(0, 133, 234, 0.7)!important;
border-radius: 10px!important;
}
:not(hbox) > scrollbar thumb:active,
:not(hbox) > scrollbar thumb:hover {
background-color: #0085ea!important;
}
:not(hbox) > scrollbar scrollbarbutton, :not(hbox) > scrollbar gripper {
display: none;
} |
|
|
|
3楼#
发布于:2013-07-12 14:46
MalcKear:渐隐的暂时没有,不过有透明的。。 这个还是在右边啊,我指的是在页面中间附近,就不要去最后边拖动 |
|
|
4楼#
发布于:2013-07-12 14:46
sheshexuan: 那还真没遇到过。 |
|
|
