Sha256: d5365f548fe2af404e9b8a4fd622ff1529858f4953e34a601542e85f55cbcffc

Contents?: true

Size: 900 Bytes

Versions: 1

Compression:

Stored size: 900 Bytes

Contents

$respond-to-handhelds-max: 479px !default

$respond-to-wide-handhelds-min: ($respond-to-handhelds-max + 1px) !default
$respond-to-wide-handhelds-max: 767px !default

$respond-to-tablets-min: ($respond-to-wide-handhelds-max + 1) !default
$respond-to-tablets-max: 959px !default

$respond-to-desktops-min: ($respond-to-tablets-max + 1) !default

=respond-to($media)
  @if $media == handhelds
    @media only screen and (max-width: $respond-to-handhelds-max)
      @content
  @else if $media == wide-handhelds
    @media only screen and (min-width: $respond-to-wide-handhelds-min) and (max-width: $respond-to-wide-handhelds-max)
      @content
  @else if $media == tablets
    @media only screen and (min-width: $respond-to-tablets-min) and (max-width: $respond-to-tablets-max)
      @content
  @else if $media == desktops
    @media only screen and (min-width: $respond-to-desktops-min)
      @content

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compass-respond-to-0.0.3 lib/stylesheets/_respond-to.sass