1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #17317 from dmbaughman/v4-media-breakpoint-between

v4 - Added  mixin to handle media queries that span multiple breakpoints
This commit is contained in:
Mark Otto 2015-11-12 23:27:16 -08:00
commit 99219bac55

View file

@ -74,3 +74,13 @@
} }
} }
} }
// Media that spans multiple breakpoint widths.
// Makes the @content apply between the min and max breakpoints
@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
@include media-breakpoint-up($lower, $breakpoints) {
@include media-breakpoint-down($upper, $breakpoints) {
@content;
}
}
}