in English
Ponahalo
Laola ponahalo ea likarolo, ntle le ho fetola ponahalo ea tsona, ka lisebelisoa tsa ponahalo.
Beha visibility
lintlha ka lisebelisoa tsa rona tsa ponahalo. Lihlopha tsena tsa lisebelisoa ha li fetole display
boleng ho hang ebile ha li ame sebopeho - .invisible
likarolo li ntse li nka sebaka leqepheng.
Lintlha tse nang le
.invisible
sehlopha li tla patoa
ka pono le bakeng sa basebelisi ba theknoloji e thusang / babali ba skrineng.
Etsa kopo .visible
kapa .invisible
kamoo ho hlokahalang.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
Utilities API
Lisebelisoa tsa ponahalo li phatlalatsoa ho lits'ebeletso tsa rona tsa API ho scss/_utilities.scss
. Ithute ho sebelisa lisebelisoa tsa API.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)