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

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

WBOY
Release: 2016-06-01 09:53:21
Original
2887 people have browsed it
<code class="language-css">tr td:nth-child(3) {
    border-right: 1px solid #e5e5e5;
}</code>
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template