CSS3奇偶选择器
.search-form td:nth-child(odd){//奇
width:100px;
text-align:right;
}
.search-form td:nth-child(even){//偶
width:100px;
text-align:left;
}
- 上一篇 »css中的选择器
- 下一篇 »CSS 学习笔记,一选择器
.search-form td:nth-child(odd){//奇
width:100px;
text-align:right;
}
.search-form td:nth-child(even){//偶
width:100px;
text-align:left;
}