HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers70/inter-mill.com/wwwroot/css/mixins/_media-queries.sass
=media-query($smallerThen)
  @media screen and (max-width: $smallerThen)
    @content

=media-query-larger($largerThen)
  @media screen and (min-width: $largerThen)
    @content

=media-query-height($smallerThen)
  @media screen and (max-height: $smallerThen)
    @content



/**  RESPOND-TO MIXINS  **/

=respond-to($media)
  @if $media == medium
    // Medium is just below 1280px
    @media only screen and (max-width: 1270px)
      @content

  @if $media == small
    // Small is just above 1024px
    @media only screen and (max-width: 1024px)
      @content

  @if $media == mobile
    @media only screen and (max-width: 900px)
      @content

  @if $media == small-mobile
    @media only screen and (max-width: 500px)
      @content


=respond-to-width($width)

  $width : $width + 'px'

  @media only screen and (max-width: $width)
    @content