📜  如何使用 css 代码示例选择两个 nt 孩子

📅  最后修改于: 2022-03-11 14:47:58.850000             🧑  作者: Mango

代码示例1
//Separate the classes with a comma ,

.ListTaskTime tbody tr >td:nth-child(3), 
.ListTaskTime tbody tr >td:nth-child(6),
.ListTaskTime tbody tr >td:nth-child(9) {
    /* Common Styles Goes Here, Styles will apply to child 3,6 and 9 */
}