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 overflow
cuab 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-auto
ntawm 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-hidden
ntawm ib lub caij nrog teem dav thiab qhov siab qhov ntev.
Qhov no yog ib qho piv txwv ntawm kev siv
.overflow-visible
ntawm ib lub caij nrog teem dav thiab qhov siab qhov ntev.
Qhov no yog ib qho piv txwv ntawm kev siv
.overflow-scroll
ntawm 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 $overflows
sib 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,
),