📜  选择最后一个子 CSS 代码示例

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

代码示例2
/*This will only work if the last child of someEID has 
the class .myclassName 
if the last child does not have class name us js*/
#someEID .myClassName:last-child {
    background: blue;
}