Is there any specific css selector to style container which contains specific numbers of children. For example:
<div class="container">
<div class="child"></div>
<div class="child"></div>
<div class="child"></div>
<div class="child"></div>
<div class="child"></div>
<div class="child"></div>
<div class="child"></div>
</div>
So I need to apply 'justify-content: flex-start;' to .container only if it has 1, 5, 6 or 7 children. At other cases it has to contain 'justify-content: center;' property