摘要: 1、首先会用到元素两个伪类,nth-child()和hover。 然后需要注意的是伪类都是通过冒号引用的,不是点号,即tr:hover{} 其次,CSS代码中要注意顺序。 tr:nth-child(odd){ background-color:#CFF;} tr:nth-child(even){ background-color:#699;} tr:hover{ ... 阅读全文
posted @ 2015-08-20 21:57 WQZ321123 阅读(1140) 评论(0) 推荐(0) 编辑