*{ padding: 0;margin: 0; user-select: none }
html,body {
    width: 100%;
    height: 100%;
    min-width: 1366px;
}

@function white($opacity) {
    @return rgba(255, 255, 255, $opacity);
}

@function black($opacity) {
    @return rgba(0, 0, 0, $opacity);
}

@function getFontShadow($color, $width) {
    @return 0 $width $color, 0 0-$width $color,
    $width $width $color,
    0-$width $width $color,
    0-$width 0-$width $color,
    $width 0 $color,
    $width $width $color,
    0-$width 0 $color
}

*::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height:10px;
}
*::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    background: white(0.25);
}
*::-webkit-scrollbar-track {/*滚动条里面轨道*/
    background: transparent;
    &:hover {
        background: white(0.05);
    }
}
