sheshexuan
狐狸大王
狐狸大王
  • UID32449
  • 注册日期2010-04-01
  • 最后登录2018-07-02
  • 发帖数361
  • 经验21枚
  • 威望0点
  • 贡献值16点
  • 好评度0点
阅读:1896回复:4

有没有把右边的滚动条放到页面上来的方法啊?

楼主#
更多 发布于:2013-07-12 14:46
最好能用的时候出现,不用的时候隐身。。。
sheshexuan
狐狸大王
狐狸大王
  • UID32449
  • 注册日期2010-04-01
  • 最后登录2018-07-02
  • 发帖数361
  • 经验21枚
  • 威望0点
  • 贡献值16点
  • 好评度0点
1楼#
发布于:2013-07-12 14:46
MalcKear:渐隐的暂时没有,不过有透明的。。
: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;
    }
回到原帖

这个还是在右边啊,我指的是在页面中间附近,就不要去最后边拖动
游客

返回顶部