0

我只想将文本溢出 textarea 时出现的滚动条的颜色更改为较深的颜色,并且我不想使用 jquery 或任何其他库。如何在纯 javascript/css 中为 firefox 和 chrome 执行此操作?

4

1 回答 1

0

You're not going to get very far.

That being said, this is a recent post with a lot of talk about this subject in Webkit with a working demo.

http://css-tricks.com/custom-scrollbars-in-webkit/

You won't get a universal solution, but maybe you can get a partial one.

于 2013-05-23T02:33:42.240 回答