Commit 6c618a89 authored by 黄媛媛's avatar 黄媛媛

全局滚动条样式

parent 0e5e4490
...@@ -25,4 +25,19 @@ body { ...@@ -25,4 +25,19 @@ body {
#app { #app {
height: 100%; height: 100%;
} }
/*滚动条样式*/
::-webkit-scrollbar {/*滚动条整体样式*/
height: 5px;
width: 4px;
border-radius: 5px;
}
::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius:5px!important;
background: #b5b5b5!important;
}
::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0.2)!important;
border-radius: 20px!important;
background: transparent!important;
}
</style> </style>
...@@ -34,18 +34,3 @@ ...@@ -34,18 +34,3 @@
.w100{ .w100{
width:100px; width:100px;
} }
/*滚动条样式*/
::-webkit-scrollbar {/*滚动条整体样式*/
height: 5px;
width: 4px;
border-radius: 5px;
}
::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius:5px!important;
background: #b5b5b5!important;
}
::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0.2)!important;
border-radius: 20px!important;
background: transparent!important;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment