我想用jQuery在鼠标悬停时给一个div添加发光效果。这是我的代码:
HTML
CSS(层叠样式表)
我有另外8个带有类名为tablerow的div,我想在鼠标悬停时使用jQuery添加一个发光效果(不是阴影),因此需要一些帮助。(我使用了CSS表格。)
HTML
<div class="tablerow">
<div class="image">
<img src="1.jpg">
</div>
<div class="info">
<p>
<span class="heading">the PURSUIT of HAPPYNESS</span><br>
<span class="sub">Inspired by a true story.</span><br>
<span class="data">Chris Gardener finds the "i" in Happiness...</span><p>
</div>
</div>
CSS(层叠样式表)
.tablerow{
width:100%;
height:185px;
padding:0;
}
我有另外8个带有类名为tablerow的div,我想在鼠标悬停时使用jQuery添加一个发光效果(不是阴影),因此需要一些帮助。(我使用了CSS表格。)