是否有与IE自动隐藏滚动条等效的Firefox和Chrome?

tch*_*han 6 css firefox google-chrome

因此,对于IE,使用CSS

-ms-overflow-style: -ms-autohiding-scrollbar;
Run Code Online (Sandbox Code Playgroud)

您可以自动隐藏将鼠标悬停在内容上时显示的滚动条。在Chrome和Firefox中有等效的方法吗?

我知道Chrome有

::-webkit-scrollbar {
     display: none;
Run Code Online (Sandbox Code Playgroud)

它隐藏了滚动条,并允许您通过按键滚动,但这并不是我想要的确切功能。有什么办法吗?