I have a table with 2 rows where i need varying cell width as
3条回答 独厮守ぢ (楼主) 2020-12-16 17:31 You can use nth:child However it will apply to all rows. This will be relative and not absolute. tr>:nth-child(6){ width: 20%; } tr>:nth-child(7){ width: 80%; } 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You can use nth:child
However it will apply to all rows. This will be relative and not absolute.
tr>:nth-child(6){ width: 20%; } tr>:nth-child(7){ width: 80%; }