用CSS实现鼠标经过表格的时候背景变色

作者在 2006-05-30 12:59:00 发布以下内容
<style>
tr
{
sun:expression(onmouseover=function(){style.background="red"},onmouseout=function(){style.background=""})
}
</style>
<table border="1" width="80%">
<tr>
<td>我要变色</td>
<td>我要变色</td>
</tr>
</table>
WEB开发 | 阅读 4209 次
文章评论,共0条
游客请输入验证码
浏览3163063次
文章归档
最新评论
  • 静夜思:感受ai的强大魔力吧👍
  • 静夜思:-1是多核