by Anonymous » 21 Mar 2025, 05:56
Ich möchte die Bildlaufleiste zeigen, wenn der Mauszeiger eingeschaltet ist. class = "Snippet-Code-CSS Lang-CSS PrettyPrint-Override">
Code: Select all
.myBox{
width:100px;
height:50px;
border:1px solid black;
overflow-y:scroll;
overflow-x:none;
}
.myBox::-webkit-scrollbar{
display: none;
}
.myBox:hover::-webkit-scrollbar{
display: block;
}< /code>
test
test1
test2
test3
test4
[url=viewtopic.php?t=14917]Ich möchte[/url] die Bildlaufleiste zeigen, wenn der Mauszeiger eingeschaltet ist. class = "Snippet-Code-CSS Lang-CSS PrettyPrint-Override">[code].myBox{
width:100px;
height:50px;
border:1px solid black;
overflow-y:scroll;
overflow-x:none;
}
.myBox::-webkit-scrollbar{
display: none;
}
.myBox:hover::-webkit-scrollbar{
display: block;
}< /code>
test
test1
test2
test3
test4
[/code]