CSS里也能写脚本?
<style type="text/css">
.showCSS{ event:expression( onmouseover = function() { this.style.backgroundColor='#f0f0f0' }, onmouseout = function() { this.style.backgroundColor='#ffffff' } ) } </style> <div class="showCSS">把鼠标放上去试试看!:)</div> 上一篇:用CSS实现表格背景颜色渐变效果 下一篇:用CSS打造可折叠伸缩名片菜单 更多相关文章
|
推荐文章
|