Phaphama
Toggle diphaphamadi godimo ga elemente efe goba efe, go putla breakpoint efe goba efe, o šomiša didirišwa tša rena tša go phaphamala tše di arabelago.
Kakaretšo
Diklase tše tša mohola di phaphamala elemente go ya ka go le letshadi goba ka go le letona, goba di šitiša go phaphamala, go ya ka bogolo bja bjale bja lefelo la go lebelela ka go šomiša thepa ya CSSfloat
. !important
e akaretšwa go efoga ditaba tša go kgethegile. Tše di šomiša dintlha tša go kgaotša tša pono ya go swana le ya tshepedišo ya rena ya keriti. Hle ela hloko gore didirišwa tša go phaphamala ga di na mafelelo go dilo tše di kobegilego.
Diklase
Toggle a phaphametseng le sehlopha:
<div class="float-left">Float left on all viewport sizes</div><br>
<div class="float-right">Float right on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>
Ditswaki
Goba ka Sass mixin:
.element {
@include float-left;
}
.another-element {
@include float-right;
}
.one-more {
@include float-none;
}
Go arabela
Diphapano tša go arabela le tšona di gona bakeng sa float
boleng bjo bongwe le bjo bongwe.
<div class="float-sm-left">Float left on viewports sized SM (small) or wider</div><br>
<div class="float-md-left">Float left on viewports sized MD (medium) or wider</div><br>
<div class="float-lg-left">Float left on viewports sized LG (large) or wider</div><br>
<div class="float-xl-left">Float left on viewports sized XL (extra-large) or wider</div><br>
Diklase ka moka tša thekgo ke tše;
.float-left
.float-right
.float-none
.float-sm-left
.float-sm-right
.float-sm-none
.float-md-left
.float-md-right
.float-md-none
.float-lg-left
.float-lg-right
.float-lg-none
.float-xl-left
.float-xl-right
.float-xl-none