css样式:奇数行偶数行设置特定样式、css设置三角形

奇数行偶数行设置特定样式

odd表示奇数行,even表示偶数行; tr:nth-child(odd); .table-striped > tbody > tr:nth-child(odd)
{ background-color: #f9f9f9; }

 css设置三角形

div {width0;

     height0;

     border-colortransparent #fabe00 #fabe00 transparent;

     border-width2.604vw 0.677vw;

     border-stylesolid;

}

 

posted @ 2020-06-27 18:05  雪糕战士  阅读(304)  评论(0编辑  收藏  举报