I’m probably answering my own question, but I’m extremely curious.

I know that CSS can select individual children of a parent, but is there support to style the children of a container, if its parent has a certain amount of children.

for example

container:children(8) {
  // style the parent this way if there are 8 children
}

I know it sounds weird, but my manager asked me to check it out, haven’t found anything on my own so I decided to turn to SO before ending the search.

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *