W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript"> function setScrollbarShadowColor() { document.body.style.scrollbarShadowColor="pink"; } </script> </head> <body> <input type="button" onclick="setScrollbarShadowColor()" value="Set ScrollbarShadowColor" /> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> <p>An example paragraph</p> </body> </html>