0

jQuery / javascriptでslimScrollバーの幅を増やすにはどうすればよいですか...現在、ユーザーがボックスの周りでプレイしている場合にのみ表示され、ユーザーがslimScrollバーが収まるボックスから出ると非表示になります...

プロパティ"railVisible: true"を使用しました。

しかし、スクロールバーはしばらくすると消えます。滞在時間を増やす方法はありますか....

4

1 に答える 1

1

次のcssで遊んでください...動作します

::-webkit-scrollbar
{
width: 3px;//increase this value
height: 9px; 
}

::-webkit-scrollbar-button:start:decrement, #doc ::-webkit-scrollbar-button:end:increment
{
display: block;
height: 0;
background-color: transparent;
}
::-webkit-scrollbar-track-piece
{
background-color: #FAFAFA;
-webkit-border-radius: 0;
-webkit-border-bottom-right-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
}

  ::-webkit-scrollbar-thumb:vertical
{
height: 50px;
background-color: #999;
-webkit-border-radius: 8px;
}
 ::-webkit-scrollbar-thumb:horizontal
{
width: 50px;
background-color: #999;
-webkit-border-radius: 8px;
}
于 2012-12-11T05:50:32.290 に答える