I am using breakpoint-sass
gem to handle media queries for mobile first responsive stylesheets.
I need to create a separate css file for IE8 (which does not support media queries), whereby I want to have all the styles, omitting the strings starting with @media ... {
and the other one with closing bracket (because IE ignores everything that is in media query).
I'm using the following setup:
$breakpoint-no-queries: true;
$breakpoint-no-query-fallbacks: true;
The problem is, that to make this working I need each time to pass true
into breakpoint()
mixin. Is there a better way to achieve my goal? Or probably, is there any way to avoid this repetition and make $no-query: true
to be permanent?