in English
ambaliya
Yi amfani da waɗannan abubuwan amfani na gajeriyar hannu don daidaitawa da sauri yadda abun ciki ke mamaye wani abu.
Daidaita overflow
kadarorin akan tashi tare da tsoffin ƙima guda huɗu da azuzuwan. Waɗannan azuzuwan ba su da amsa ta tsohuwa.
Wannan misali ne na amfani
.overflow-auto
akan wani kashi mai saita faɗi da tsayin tsayi. Ta hanyar ƙira, wannan abun ciki zai gungura a tsaye.
Wannan misali ne na amfani
.overflow-hidden
akan wani kashi mai saita faɗi da tsayin tsayi.
Wannan misali ne na amfani
.overflow-visible
akan wani kashi mai saita faɗi da tsayin tsayi.
Wannan misali ne na amfani
.overflow-scroll
akan wani kashi mai saita faɗi da tsayin tsayi.
<div class="overflow-auto">...</div>
<div class="overflow-hidden">...</div>
<div class="overflow-visible">...</div>
<div class="overflow-scroll">...</div>
Yin amfani da masu canji na Sass, zaku iya keɓance abubuwan amfani da ambaliya ta hanyar canza $overflows
canjin a cikin _variables.scss
.
Sass
API ɗin Utilities
Ana ayyana abubuwan amfani da yawa a cikin API ɗin mu a cikin scss/_utilities.scss
. Koyi yadda ake amfani da API ɗin abubuwan amfani.
"overflow": (
property: overflow,
values: auto hidden visible scroll,
),