[Solved] Select even and odd childs of a particular class after a specific class child

[ad_1]

Check this fiddle

.a+.b, .a+.b+.b+.b{
    background: red;
}

I’m using adjacent sibling character. But this solution may not be feasible when the the .b count is more.

1

[ad_2]

solved Select even and odd childs of a particular class after a specific class child