In the following HTML snippet, we have a div#parent
with multiple child elements:
<div id="parent">
<div id="ch1"></div>
<div id="ch2"></div>
<div id="ch3"></div>
....
<div id="ch1234"></div>
</div>
The question is: How can we create a CSS selector that applies specific styles to all children of div#parent
except for div#ch1
?