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
. !important
kua whakauruhia ki te karo i nga take motuhake. Ka whakamahi enei i nga waahi wehenga tirohanga rite ki ta maatau punaha matiti. Kia mohio koe kaore he painga o nga taputapu rewa ki runga i nga taonga ngawari.
<div class="float-start">Float start on all viewport sizes</div><br>
<div class="float-end">Float end on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>
Whakautu
He rereke ano te whakautu mo ia float
uara.
<div class="float-sm-start">Float start on viewports sized SM (small) or wider</div><br>
<div class="float-md-start">Float start on viewports sized MD (medium) or wider</div><br>
<div class="float-lg-start">Float start on viewports sized LG (large) or wider</div><br>
<div class="float-xl-start">Float start on viewports sized XL (extra-large) or wider</div><br>
Anei nga akomanga tautoko katoa:
.float-start
.float-end
.float-none
.float-sm-start
.float-sm-end
.float-sm-none
.float-md-start
.float-md-end
.float-md-none
.float-lg-start
.float-lg-end
.float-lg-none
.float-xl-start
.float-xl-end
.float-xl-none
.float-xxl-start
.float-xxl-end
.float-xxl-none
Sass
API taputapu
Ko nga taputapu maanu e kiia ana i roto i o maatau taputapu API i roto i scss/_utilities.scss
. Akohia me pehea te whakamahi i nga taputapu API.
"float": (
responsive: true,
property: float,
values: (
start: left,
end: right,
none: none,
)
),