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.:


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

1 Like