 <p>Yeah there's a matches pseudo class, but if you're hoping it will save you some typing it still needs vendor prefixes you'd have to duplicate and the support isn't great. </p> <pre><code>:matches(#header, #footer) button active:hover { color: purple; } :-webkit-any(#header, #footer) button active:hover { color: purple; } :-moz-any(#header, #footer) button active:hover { color: purple; } </code></pre> <p>So as you can see it ends up being more verbose than just adding the comma and another selector at the moment. </p>