I know of the selector :not() but it doesn\'t work, like tr:not(tr:first-child):hover. I want to style the other trs but not the first one
:not()
tr:not(tr:first-child):hover
tr
Put your headers in a and your stylable rows in the then use: tbody tr:hover { background: red } and it won't matter what the contents is. http://jsfiddle.net/stevemarvell/we4a6/ 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
and your stylable rows in the then use: tbody tr:hover { background: red } and it won't matter what the contents is. http://jsfiddle.net/stevemarvell/we4a6/ 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
then use: tbody tr:hover { background: red } and it won't matter what the contents is. http://jsfiddle.net/stevemarvell/we4a6/ 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
tbody tr:hover { background: red }
and it won't matter what the contents is.
http://jsfiddle.net/stevemarvell/we4a6/