在我的剑道网格中,我通过包含在 telerik 论坛之一中建议的以下 css 代码实现了悬停颜色更改。
.k-grid table tr:hover {
background :rgb(107, 188, 242) !important;
cursor: pointer !important;
}
这在 IE 浏览器中工作得很好,但在谷歌浏览器中,当我从一行悬停到另一行时,颜色会部分保留(附图)。这里可能出了什么问题?
谢谢, 阿达什
最佳答案
有趣的是,当我像下面这样将鼠标悬停在 td 上时,效果很好!
.k-grid table tr:hover td {
background :rgb(107, 188, 242) !important;
cursor: pointer !important;
}
关于css - Kendo 网格 - 悬停颜色变化不适用于谷歌浏览器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23799919/