如何在之前添加hover for ::

bha*_*thi 3 css3 kendo-ui angularjs

我使用剑道日历

这是html

> <table> <tr>  <td role="gridcell" class=""><a tabindex="-1"
> class="k-link" href="#"  data-value="2015/11`enter code here`/1" title="Tuesday,
> December 01, 2015"><div   class="exhibition">1</div></a></td> </tr>
> </table>
Run Code Online (Sandbox Code Playgroud)

在悬停"k-state-hover"类正在添加到td

<td role="gridcell" class="k-state-hover"><a tabindex="-1"
class="k-link" href="#" data-value="2015/11/1" title="Tuesday,
 December 01, 2015"><div class="exhibition">1</div></a></td>
Run Code Online (Sandbox Code Playgroud)

我想改变"展览"div的"k-state-hover"的颜色

我试过这样的:

.exhibition::before:hover{
background-color:"red";
}
Run Code Online (Sandbox Code Playgroud)

但它不起作用

Mad*_*ari 5

.exhibition:hover::before而不是.exhibition::before:hover