I\'ve an html table written using xslt transformation that looks like this
3条回答 半阙折子戏 (楼主) 2021-02-08 23:26 You could probably get away with doing this in just css tr:nth-child(odd) { /*...*/ } tr:nth-child(odd) { /*...*/ } If you cannot, you could do something like evenRow oddRow Note that i wrote this in the SO textbox and haven't tested it. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You could probably get away with doing this in just css
tr:nth-child(odd) { /*...*/ } tr:nth-child(odd) { /*...*/ }
If you cannot, you could do something like
evenRow oddRow
Note that i wrote this in the SO textbox and haven't tested it.