CSS里也能写脚本?
作者:
生鱼片 文章来源:
不详 点击数: 更新时间:2006-9-28 14:35:13
<style type="text/
CSS">
.showCSS{
event:expression(
onmouseover = function()
{
this.style.backgroundColor='#f0f0f0'
},
onmouseout = function()
{
this.style.backgroundColor='#ffffff'
}
)
}
</style>
<div class="showCSS">把鼠标放上去试试看!:)</div>