The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to style subsequent siblings Reply To: How to style subsequent siblings


You can’t do this automatically with Pure CSS.

CSS can’t do “10% lighter than the previous item#s color/background”.

Of course I could go in and style each one individually

This is basically what you have to do. A pre-processor can semi-automate this but, in the end, this is what happens.