Selector for active button but not disabled

button:not([disabled]):active

Explanation

The :not([disabled]) part of the selector matches elements that do not have the attribute "disabled", so it effectively filters out any buttons that have the "disabled" attribute. The :active part of the selector matches elements that are in an active state, such as when a button is being pressed.

So, this selector will target the active state of all buttons that don't have disabled attribute.