Source

Opeopea

Fa'ato'a solo i luga o so'o se elemene, i so'o se mea e motu ai, e fa'aaoga ai a matou mea fa'aoga fe'avea'i tali.

Vaaiga lautele

O nei vasega aoga e faʻafefe se elemene i le agavale poʻo le taumatau, pe faʻamalo le faʻafefe, faʻavae i luga o le tele o le vaʻaiga o loʻo i ai nei e faʻaaoga ai le CSS floatmeatotino . !importanto lo'o aofia ai e aloese mai fa'afitauli fa'apitoa. O lo'o fa'aogaina e nei vaega va'aiga va'aiga tutusa e pei o la tatou faiga fa'avasega.

Vasega

Su'e se va'a ma se vasega:

Fa'aloloa agavale i le tele o va'aiga

Opeopea sa'o i luga o le tele o va'aiga

Aua le opeopea i luga o le tele o va'aiga
<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>

Mixins

Po'o le Sass mixin:

.element {
  @include float-left;
}
.another-element {
  @include float-right;
}
.one-more {
  @include float-none;
}

Talia

O lo'o iai fo'i suiga fa'atatau mo floattau ta'itasi.

Fa'afefete i le agavale i luga o va'aiga lapo'a SM (tama'i) pe lautele

Opeopea agavale i luga o va'aiga tetele MD (medium) pe lautele

Fa'aloloa agavale i luga o va'aiga tetele LG (tele) pe lautele

Fa'aloloa agavale i luga o va'aiga tetele XL (tele-tele) po'o le lautele

<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>

O vasega lagolago uma nei;

  • .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