会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xzzzys
CnBlogs
Home
New Post
Contact
Admin
Subscription
css给奇数行或偶数行添加指定样式
odd表示奇数行,even表示偶数行;
tr:nth-child(odd);
.table-striped > tbody > tr:nth-child(odd) {
background-color:
#f9f9f9;
}
posted @
2017-12-16 15:55
xzzzys
Views(
11456
) Comments(
0
)
收藏
举报
刷新页面
返回顶部
公告