Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_media-queries.scss « mixins « scss - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4e16ed888fee19a949c9a45b80bb89c7e3f67cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Media query mixins

@mixin media-xs() {
  @media (max-width: $screen-xs-max) { @content }
}

@mixin media-sm() {
  @media (min-width: $screen-sm-min) { @content }
}

@mixin media-sm-max() {
  @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { @content }
}

@mixin media-md() {
  @media (min-width: $screen-md-min) { @content }
}

@mixin media-md-max() {
  @media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @content }
}

@mixin media-lg() {
  @media (min-width: $screen-lg-min) { @content }
}