This is pretty easy to do with a pre-processor in the interim, it's simple token replacement. On Fri, Jun 21, 2013 at 10:58 AM, Behrang Saeedzadeh <behrangsa@gmail.com> wrote: > It would be nice, if there was a way to define a media query, and use it in > multiple @media blocks: > > @media-def #my-media only screen and (max-width: 480px), only screen and > (max-device-width: 480px), etc.; > > @media(#my-media) { > /* css rules */ > } > > The syntax can of course be totally different. > > This would eliminate some duplication where there are multiple media query > blocks in various CSS files that target the same device, etc. > > What do you guys think? > > Cheers, > Behrang Saeedzadeh > http://www.behrang.org -- Brian Kardell :: @briankardell :: hitchjs.comReceived on Friday, 21 June 2013 15:10:20 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:31 UTC