I have this table:
3条回答 醉话见心 (楼主) 2021-01-06 15:06 HTML: CSS: .table-hover > tbody > tr:hover { background-color: #f5f5f5; } And if else you want is to make the tr selectable: HTML: CSS: tr[ng-click] { cursor: pointer; } View JSFiddle Sample 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
HTML:
CSS: .table-hover > tbody > tr:hover { background-color: #f5f5f5; } And if else you want is to make the tr selectable: HTML: CSS: tr[ng-click] { cursor: pointer; } View JSFiddle Sample 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
CSS:
.table-hover > tbody > tr:hover { background-color: #f5f5f5; }
And if else you want is to make the tr selectable:
CSS: tr[ng-click] { cursor: pointer; } View JSFiddle Sample 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
tr[ng-click] { cursor: pointer; }
View JSFiddle Sample