更改滚动条样式

This commit is contained in:
fofolee 2019-04-11 19:43:13 +08:00
parent 7ca94f1141
commit b5e626c631

View File

@ -68,21 +68,27 @@
box-shadow: 0px 0px 5px 1px #FF5722;
}
::-webkit-scrollbar
{
width: 7px;
height: 5px;
background-color: #F5F5F5;
::-webkit-scrollbar {
width:9px;
}
::-webkit-scrollbar-track
{
box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.2);
::-webkit-scrollbar-track {
-webkit-border-radius:5px;
border-radius:5px;
background-color:#F5F5F5;
background:rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb
{
::-webkit-scrollbar-thumb {
-webkit-border-radius:5px;
border-radius:5px;
box-shadow:inset 0 0 6px rgba(0,0,0,.3);
background-color:#959da5;
background:rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb:hover {
background:rgba(0,0,0,0.4);
}
::-webkit-scrollbar-thumb:window-inactive {
background:rgba(0,0,0,0.05);
}