mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-20 22:40:23 +00:00
Added mixin to handle media queries that span multiple breakpoints
This commit is contained in:
parent
210e2b8100
commit
026682bf0d
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue