summaryrefslogtreecommitdiffstats
path: root/assets/css/_utils.scss
blob: 036a87e76769b20d6e41ecd6d8526b502c6ced60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.u-hidden {
  display: none;

  @each $name, $width in $breakpoints {
    &\@#{$name}-down {
      @media (max-width: $width) {
        display: none;
      }
    }

    &\@#{$name}-up {
      @media (min-width: $width + 1) {
        display: none;
      }
    }
  }
}