Is there a way to compile SCSS with media queries and a few breakpoints to a CSS without media queries that will only contain styles for a specific screen size I pass to the SCSS compiler?
example SCSS file:
body {background:red}
@medai query only screen and (max-width: 767px){
a {
margin: 10px
}
}
@medai query only screen and (max-width: 1280px){
a {
color: orange;
}
}
I want to compile the above SCSS with media queries and get a CSS file WITHOUT the media queries with all the appropriate styles that a browser would apply if, say, a browser window width was 1600px or 320px;
expected CSS for 1600px;
body {background:red}
a {margin: 10px}
a {color: orange;}
expected CSS for 320px;
body {background:red}
a {margin: 10px}
I need it to compile css for IE7 which doesn't support media queries.