Can CSS3 be used to style the children divs of a parent div with specific conditions, such as:
- If there are 3 divs, apply property x to divs 1 and 2.
- If there are 2 divs, apply property x to div 1.
- If there is 1 div, do not apply property x to it.
Is jQuery necessary for implementing this dynamic logic or can it be achieved with CSS alone?