Is there a way with CSS3 to select every input-related element that does not have a type attribute of button, reset, submit, or a tag of button? This is what I’ve gotten so far:
input:not([type="submit"]),
textarea {
/* ... */
}
input:not([type="submit"]):focus,
textarea:focus {
/* ... */
}
input:not([type="submit"]):hover,
textarea:hover {
/* ... */
}
… but it’s not as universal as it could be. I’m wanting to apply some nice new transitions to solely input-related fields. If these certain styles get applied to any buttons on the page, it begins to look strange. Any help is appreciated.
Simply chain multiple
:notselectors together: