Sha256: 7e4ba52ae9620e2ae1e49f912294a275b30e67f4746c87b3a87026ad0152ed34

Contents?: true

Size: 957 Bytes

Versions: 1

Compression:

Stored size: 957 Bytes

Contents

// https://github.com/malarkey/320andup/

$respond-above-xs: 480px !default
$respond-above-s:  600px !default
$respond-above-m:  768px !default
$respond-above-l:  992px !default
$respond-above-xl: 1382px !default

=respond-above($screen-size)
  @if $screen-size == xs
    @media only screen and (min-width: $respond-above-xs)
      @content
  @else if $screen-size == s
    @media only screen and (min-width: $respond-above-s)
      @content
  @else if $screen-size == m
    @media only screen and (min-width: $respond-above-m)
      @content
  @else if $screen-size == l
    @media only screen and (min-width: $respond-above-l)
      @content
  @else if $screen-size == xl
    @media only screen and (min-width: $respond-above-xl)
      @content
  @else if $screen-size == 1.5
    @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5)
      @content

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compass-respond-0.0.2 lib/stylesheets/_respond-above.sass