mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
b226766b62
* Remove comment that duplicated some code * Use transition mixin whenever possible * Create a new function to reduce duplication * Use the new `breakpoint-infix` method
10 lines
320 B
SCSS
10 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; }
|
|
}
|
|
}
|