I have a need to select the first two children. According to this MDN doc, I should be able to do something like this with CSS selectors:
I tried this selector with pup, but it behaves like there is no - in front of n. That is, it behaved the same as :nth-child(n+2).
Is this syntax not supported?
I have a need to select the first two children. According to this MDN doc, I should be able to do something like this with CSS selectors:
I tried this selector with pup, but it behaves like there is no
-in front ofn. That is, it behaved the same as:nth-child(n+2).Is this syntax not supported?