zoukankan      html  css  js  c++  java
  • 浏览器默认滚动条样式

        .customScroll ::-webkit-scrollbar-button {
            background-image: url(customScrollIcon.png);
        }

        .customScroll ::-webkit-scrollbar {
             17px;
            height: 17px;
        }

        /* 右下三角 */
        .customScroll ::-webkit-scrollbar-button:vertical {
            background-position: 0 0;
             17px;
        }

        /* 右上三角 */
        .customScroll ::-webkit-scrollbar-button:vertical:decrement {
            background-position: -18px 0;
             17px;
            height: 17px;
        }

        /* 下右三角 */
        .customScroll ::-webkit-scrollbar-button:horizontal {
            background-position: -18px -18px;
             17px;
            height: 17px;
        }

        /* 下左三角 */
        .customScroll ::-webkit-scrollbar-button:horizontal:decrement {
            background-position: 0 -18px;
             17px;
            height: 17px;
        }

        /* 底色 */
        .customScroll ::-webkit-scrollbar-track-piece {
            background: rgba(241, 241, 241, 1);
        }

        /* 水平 */
        .customScroll ::-webkit-scrollbar-thumb:horizontal {
            background: #c1c1c1;
            border-top: 2px solid #f1f1f1;
            border-bottom: 2px solid #f1f1f1;
        }

        /* 水平 */
        .customScroll ::-webkit-scrollbar-thumb:horizontal:hover {
            background: #a8a8a8;
        }

        /* 垂直 */
        .customScroll ::-webkit-scrollbar-thumb:vertical {
            background: #c1c1c1;
            border-left: 2px solid #f1f1f1;
            border-right: 2px solid #f1f1f1;
        }

        /* 垂直 */
        .customScroll ::-webkit-scrollbar-thumb:vertical:hover {
            background: #a8a8a8;
        }

        /* 右下角方块 */
        .customScroll ::-webkit-scrollbar-corner {
            background: #dcdcdc;
        }
     
    customScrollIcon.png
     
  • 相关阅读:
    Python 企业面试题集锦之Python基础
    Jmeter 线程之间传递参数
    Jmeter 5.1参数化csv引入文件
    Jmeter 5.1命令行执行bat文件
    Idea JAVA項目的导入JAR包和导出jar包
    charles 设置弱网测试
    Jmeter_Beanshell 返回值中提取参数值
    在Notepad++里配置python环境
    python json格式参数遍历所有key、value 及替换key对于的value
    python 使用yaml模块
  • 原文地址:https://www.cnblogs.com/onceweb/p/13847536.html
Copyright © 2011-2022 走看看