Source

Mānu

Takahuri maanu i runga i tetahi huānga, puta noa i tetahi waahi pakaru, ma te whakamahi i a maatau taputapu tere tere.

Tirohanga

Ko enei karaehe whaipainga ka rewa tetahi huānga ki te taha maui, ki te taha matau ranei, ki te whakakore ranei i te maanu, i runga i te rahi o te tauranga tirohanga o naianei ma te whakamahi i te taonga CSSfloat . !importantkua whakauruhia ki te karo i nga take motuhake. Ka whakamahi enei i nga waahi wehenga tirohanga rite ki ta maatau punaha matiti.

Karaehe

Takahurihia he maanu me te karaehe:

Mānu mauī ki ngā rahinga tauranga tirohanga katoa

Manu tika i runga i nga rahi tauranga tirohanga katoa

Kaua e rewa i runga i nga rahi tauranga tirohanga katoa
<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>

Whakaranu

Na Sass mixin ranei:

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

Whakautu

He rereke ano te whakautu mo ia floatuara.

Manu maui ki runga i nga tauranga tirohanga i te rahi SM (iti) whanui ranei

Manu maui ki runga i nga tauranga tirohanga MD (waenganui) whanui ake ranei

Manu maui ki runga i nga tauranga tirohanga LG (nui) whanui ake ranei

Manu maui i runga i nga tauranga tirohanga te rahi XL (nui-nui) whanui ranei

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

Anei nga karaehe tautoko katoa;

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