Wie mache ich die Scrollbar transparent? Nur css. Nur für Webkit-Browser. Meine Code Hier.
div{
width:410px;
height:100px;
overflow-y:overlay;
border:1px solid green;
position:relative;
}
::-webkit-scrollbar{
width:20px;
}
::-webkit-scrollbar-thumb{
background-color:rgba(0,0,0,1);
}
Antworten:
3 für die Antwort № 1div
{
width:410px;
height:100px;
overflow-y:overlay;
border:1px solid green;
position:relative;
}
::-webkit-scrollbar{
width:20px;
}
::-webkit-scrollbar-thumb{
background-color: rgba(255,255,255,1);
}
0 für die Antwort № 2
Wenn Sie am Ende Browserübergreifend wünschen, Siehe meine Frage von letzter Woche.
Hier ist die JSBin mit etwas gehen.