Tsallake zuwa babban abun ciki Tsallake zuwa kewayawa na takardu
Check
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 overflowkadarorin 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-autoakan 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-hiddenakan wani kashi mai saita faɗi da tsayin tsayi.
Wannan misali ne na amfani .overflow-visibleakan wani kashi mai saita faɗi da tsayin tsayi.
Wannan misali ne na amfani .overflow-scrollakan 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 $overflowscanjin 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,
    ),