at-import / breakpoint

Really simple media queries in Sass
MIT License
2.09k stars 142 forks source link

IE < 9 passthrough #28

Closed scottkellum closed 11 years ago

scottkellum commented 11 years ago

IE < 9 does not support media queries. Passing desktop styles to them might be necessary in many cases.

@mixin breakpoint($breakpoint, $ie-passthrough: false) {
  @meida $breakpoint {
    @content
  }

  // IE passthrough stuff
  @if $ie-passthrough == lt9 {
    .ie-lt-9 {
      @content
    }
  }
}
Snugug commented 11 years ago

Already done. Check out the No Query stuff

On Nov 19, 2012, at 11:44 AM, Scott Kellum notifications@github.com wrote:

IE < 9 does not support media queries. Passing desktop styles to them might be necessary in many cases.

@mixin breakpoint($breakpoint, $ie-passthrough: false) { @meida $breakpoint { @content }

// IE passthrough stuff @if $ie-passthrough == lt9 { .ie-lt-9 { @content } } } — Reply to this email directly or view it on GitHub.