1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/mixins/_media-queries.scss
2014-12-02 14:02:35 -08:00

25 lines
532 B
SCSS

// 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 }
}