in English
Va'aiga
Pulea le va'aia o elemene, e aunoa ma le suia o latou fa'aaliga, fa'atasi ai ma mea fa'aoga va'aia.
Seti le visibility
elemene ma a matou mea faʻaoga vaʻaia. O nei vasega aoga e le suia le display
tau ma e le afaina ai le faʻatulagaina - .invisible
elemene o loʻo alu pea avanoa i le itulau.
O elemene o lo'o iai le
.invisible
vasega o le a natia
uma i le va'aiga ma mo tagata fa'aoga tekonolosi fesoasoani/screen reader.
Fa'aoga .visible
pe .invisible
a mana'omia.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
Utilities API
O lo'o fa'ailoa mai mea aoga fa'aalia i totonu o la matou fa'aoga API i scss/_utilities.scss
. A'oa'o pe fa'afefea ona fa'aoga mea aoga API.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)