Closed
Description
Differs from "extend around media queries", #1165.
This is a feature request for extending media queries themselves, which should help make media queries less challenging to manage, and when used in conjunction with extending mixins could potentially resolve other standing Issues with media queries (such as those proposed in #1165).
I'm not sure about the syntax, I'd like to see other ideas but here are a couple of obvious ones to throw into the hat:
@media:extend only screen and (min-device-pixel-ratio: 1.5) {
...
}
// or
@extend:media only screen and (min-device-pixel-ratio: 1.5) {
...
}
Expected output would follow the same conventions as other extended expressions in Less.