css not first child

40

div ul:not(:first-child){
    background-color: #900;
}
div ul:nth-child(n+2) {
    background-color: #900;
}

Comments

Submit
0 Comments