Button + Button:not()

Is it possible to use Button and Button:not() in the same element click selector? if yes, how?

Not sure what you're trying to achieve, but you can certainly stack CSS selectors, e.g.:

button[data-form-button]:not([class*='out-of-stock'])

This would match a button with class data-form-button and also NOT with class out-of-stock.

1 Like