Sha256: 07111eb07ea2fb194aee704cb5cbf531dd9da6ee945607302ad553c0ecfb23c3

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 Bytes

Contents

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

=respond-below($screen-size)
  @if $screen-size == xs
    @media only screen and (max-width: $respond-below-xs)
      @content
  @else if $screen-size == s
    @media only screen and (max-width: $respond-below-s)
      @content
  @else if $screen-size == m
    @media only screen and (max-width: $respond-below-m)
      @content
  @else if $screen-size == l
    @media only screen and (max-width: $respond-below-l)
      @content
  @else if $screen-size == xl
    @media only screen and (max-width: $respond-below-xl)
      @content
  @else if $screen-size == xxl
    @media only screen and (max-width: $respond-below-xxl)
      @content

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-respond-0.3.0 lib/stylesheets/_respond-below.sass
compass-respond-0.2.0 lib/stylesheets/_respond-below.sass