Is there a way to chain css selectors with media queries, like:
.red,
@media(max-width: 1000px) {
p {
color: red;
}
}
such that paragraphs will be red when the screen is <= 1000px OR when they inherit a red
class?
The syntax above doesn't work, but there must be a dry way to do this. Maybe with @extend
?