Typically you add a class selector to the :not() pseudo-class like so:
:not(.printable) {
/* Styles */
}
:not([attribute]) {
/* Styles */
}
But if you need better browser support (IE8 and older don't support :not()), you're probably better off creating style rules for elements that do...
@BoltClock I don't pay attention to my rep but I do see notifications about downvotes on my posts
it's always after I've taken some moderation action, typically, and always on a question (usually either my most recent one or my oldest one)
I will make a slight amendment to my previous statement--I don't pay much attention to rep, other than occasionally glancing to see that I'm still below 20k and thus can't delete vote answers :-(