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

* Remove comment that duplicated some code * Use transition mixin whenever possible * Create a new function to reduce duplication * Use the new `breakpoint-infix` method
9 lines
320 B
SCSS
9 lines
320 B
SCSS
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
@include media-breakpoint-up($breakpoint) {
|
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
|
|
.float#{$infix}-left { @include float-left; }
|
|
.float#{$infix}-right { @include float-right; }
|
|
.float#{$infix}-none { @include float-none; }
|
|
}
|
|
}
|