Working with CSS selector symbols has been a challenge for me as I strive to create intricate element selectors. Currently, I find myself at a standstill struggling to combine certain selector symbols together.
For example, I am attempting to craft: body and its child elements that do not have the #foo id using
body > *:not(#main-div) + body
Unfortunately, the combinations of these elements are not producing the desired results. While I have successfully used each selector individually in the past, combining them is proving difficult. This feature holds great promise for my work, so I am eager to understand if it is feasible to create combinations of these selector symbols. If so, I would greatly appreciate guidance on the correct syntax to follow.