- 11
- 0
- 约1.82千字
- 约 5页
- 2017-07-07 发布于湖北
- 举报
当鼠标经过表格数据行时颜色不同且奇偶行颜色也不同
来源:互联网 作者:佚名 时间:07-16 17:37:00 【大 中 小】 想必大家都有遇到过这样的效果,就是当鼠标经过时颜色不同,且奇偶行颜色也不同,此鼠标响应效果在css中也可以实现,下面有个不错的示例代码,需要的朋友可以参考下
复制代码
代码如下:
!DOCTYPE html !-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. -- html head meta http-equiv=Content-Type content=text/html; charset=utf-8 / link href=table.css type=text/css rel=stylesheet / titletable test/title !-- style table tbody tr:hover{ background-color: #EEECEB; } /style -- /head body table t
原创力文档

文档评论(0)