in English
Ukuchichima
Sebenzisa lezi zinsiza ze-shorthand ukuze ulungiselele ngokushesha ukuthi okuqukethwe kuchichima kanjani into.
Lungisa overflow
impahla ngokuhamba kwesikhathi ngamavelu amane azenzakalelayo namakilasi. Lezi zigaba aziphenduli ngokuzenzakalela.
Lesi isibonelo sokusebenzisa
.overflow-auto
i-elementi enobubanzi obumisiwe nobukhulu bobude. Ngomklamo, lokhu okuqukethwe kuzoskrola kuqonde.
Lesi isibonelo sokusebenzisa
.overflow-hidden
i-elementi enobubanzi obumisiwe nobukhulu bobude.
Lesi isibonelo sokusebenzisa
.overflow-visible
i-elementi enobubanzi obumisiwe nobukhulu bobude.
Lesi isibonelo sokusebenzisa
.overflow-scroll
i-elementi enobubanzi obumisiwe nobukhulu bobude.
<div class="overflow-auto">...</div>
<div class="overflow-hidden">...</div>
<div class="overflow-visible">...</div>
<div class="overflow-scroll">...</div>
Usebenzisa okuguquguqukayo kwe-Sass, ungenza ngokwezifiso izinsiza ezichichimayo ngokushintsha $overflows
okuguquguqukayo kokuthi _variables.scss
.
Sass
I-Utilities API
Izinsiza ezichichimayo zimenyezelwa kuzinsiza zethu ze-API ku- scss/_utilities.scss
. Funda indlela yokusebenzisa i-API yezinsiza.
"overflow": (
property: overflow,
values: auto hidden visible scroll,
),