Home  >  Article  >  Web Front-end  >  css nth-child选中tr中的第3列td

css nth-child选中tr中的第3列td

WBOY
WBOYOriginal
2016-06-01 09:53:212856browse
<code class="language-css">tr td:nth-child(3) {
    border-right: 1px solid #e5e5e5;
}</code>

注意:这里的index是从1开始计数。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn