Currently, I am using LESS as my main CSS pre-processor. I have (and I am sure a lot of people have this need) to define variables in a @media query like:
@media
what about:
@media screen and (max-width: 479px) { .myElement(10px); } @media screen and (min-width: 768px) { .myElement(30px); } .myElement(@myVar) { .myElement { padding: @myVar; } }