Hla mus rau cov ntsiab lus tseem ceeb Hla mus rau docs navigation
Check
in English

Tshaj dhau

Siv cov khoom siv luv luv no rau kev teeb tsa sai npaum li cas cov ntsiab lus dhau ntawm lub ntsiab lus.

Kho cov overflowcuab yeej ntawm ya nrog plaub qhov tseem ceeb thiab cov chav kawm. Cov chav kawm no tsis teb los ntawm lub neej ntawd.

Qhov no yog ib qho piv txwv ntawm kev siv .overflow-autontawm ib lub caij nrog teem dav thiab qhov siab qhov ntev. Los ntawm kev tsim, cov ntsiab lus no yuav vertically scroll.
Qhov no yog ib qho piv txwv ntawm kev siv .overflow-hiddenntawm ib lub caij nrog teem dav thiab qhov siab qhov ntev.
Qhov no yog ib qho piv txwv ntawm kev siv .overflow-visiblentawm ib lub caij nrog teem dav thiab qhov siab qhov ntev.
Qhov no yog ib qho piv txwv ntawm kev siv .overflow-scrollntawm ib lub caij nrog teem dav thiab qhov siab qhov ntev.
<div class="overflow-auto">...</div>
<div class="overflow-hidden">...</div>
<div class="overflow-visible">...</div>
<div class="overflow-scroll">...</div>

Siv Sass variables, koj tuaj yeem hloov kho cov khoom siv hluav taws xob dhau los ntawm kev hloov pauv qhov $overflowssib txawv hauv _variables.scss.

Sass

Utilities API

Cov kev siv dej ntws dhau tau tshaj tawm hauv peb cov khoom siv hluav taws xob API hauv scss/_utilities.scss. Kawm paub siv cov khoom siv hluav taws xob API li cas.

    "overflow": (
      property: overflow,
      values: auto hidden visible scroll,
    ),