After reading the CSS2.1 and CSS3 selector specs again, I suspect this is not possible, but you never know.
If I can select a p-element, i.e. decendent of another p-element using a selector with CSS extension, like this:
pp {};
Is there a way to nullify the seatpost selector and still select the type, so I can select p elements other than those that are divisions of other p elements ...
p & ( p ! p ) {...};
i.e. I want to select elements of type p, but NOT if they are divided by other elements of type p.
BTW: I use this in querySelector () and querySelectorAll (), where each one is selected with tag type attributes, but I wanted to show the simplest example ...
I tried this without success (syntax error!)
p:not(pp) {......}
source share