css怎么设置滚动条宽度


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

.visible-scrollbar, .invisible-scrollbar, .mostly-customized-scrollbar {

  display: block;

  width: 10em;

  overflow: auto; 

  height: 2em;

  }

  .invisible-scrollbar::-webkit-scrollbar {

  display: none;

  }

  /* Demonstrate a "mostly customized" scrollbar

 * (won't be visible otherwise if width/height is specified) */

 .mostly-customized-scrollbar::-webkit-scrollbar {

  width: 5px; 

  height: 8px; 

  background-color: #aaa;

  /* or add it to the track */}/* Add a thumb */

  .mostly-customized-scrollbar::-webkit-scrollbar-thumb {

    background: #000;

    }

相关推荐:CSS教程

以上就是css怎么设置滚动条宽度的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

css中怎么把文字加粗

css怎么设置div边框颜色

css中如何设置背景图片的大小

css怎么让字体变大

带你玩转css中各种方向小箭头

css中伪类和伪元素有什么区别

css伪元素是用来干嘛的

css里面怎么注释

html5实践-使用css装饰图片画廊的代码分享(一)

css如何让块无间隙

更多相关阅读请进入《css》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...