File: _float.scss

package info (click to toggle)
twitter-bootstrap4 4.3.1%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,716 kB
  • sloc: sh: 35; makefile: 20; xml: 11
file content (11 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
// stylelint-disable declaration-no-important

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    .float#{$infix}-left  { float: left !important; }
    .float#{$infix}-right { float: right !important; }
    .float#{$infix}-none  { float: none !important; }
  }
}