当您将光标移至某物时,如何更改某物的颜色?
如果你想改变按钮的颜色,你可以使用 onMouseOver 来改变颜色。 但是像表格这样的标签呢?
If you want to change colors of a button you use that onMouseOver to change the colour.
But what about tags like tables?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能是这样的:
tableClass
tableClass:hover
css,它将在鼠标悬停时工作。这是小提琴
May be this works:
tableClass
tableClass:hover
css which will work on mouse hover.Here is the fiddle