::-webkit-scrollbar
{
width: 0; /*滾動條寬度*/
/*height: 16px;*/
}
/*定義滾動條軌道 內陰影+圓角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px; /*滾動條的背景區域的圓角*/
background-color: red;/*滾動條的背景顏色*/
}
/*定義滑塊 內陰影+圓角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px; /*滾動條的圓角*/
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: green; /*滾動條的背景顏色*/
}