mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
93f51eb0e9
Breakpoints and container widths are now defined as maps.
26 lines
488 B
SCSS
26 lines
488 B
SCSS
// Media query mixins for default breakpoints
|
|
|
|
@mixin media-xs() {
|
|
@include media-breakpoint-max(xs) { @content }
|
|
}
|
|
|
|
@mixin media-sm() {
|
|
@include media-breakpoint-min(sm) { @content }
|
|
}
|
|
|
|
@mixin media-sm-max() {
|
|
@include media-breakpoint-only(sm) { @content }
|
|
}
|
|
|
|
@mixin media-md() {
|
|
@include media-breakpoint-min(md) { @content }
|
|
}
|
|
|
|
@mixin media-md-max() {
|
|
@include media-breakpoint-only(md) { @content }
|
|
}
|
|
|
|
@mixin media-lg() {
|
|
@include media-breakpoint-min(lg) { @content }
|
|
}
|