利用css给奇数行或偶数行添加指定样式

    xiaoxiao2026-08-05  0

    odd表示奇数行,even表示偶数行; tr:nth-child(odd); .table-striped > tbody > tr:nth-child(odd) { background-color #f9f9f9 ; }
    转载请注明原文地址: https://ju.6miu.com/read-1310879.html
    最新回复(0)