in English
Yecogo ɲuman
Fɛnw yecogo kɔlɔsi, k’a sɔrɔ i ma u jiracogo caman sɛmɛntiya, ni yecogo nafamafɛnw ye.
Set the visibility
of elements ni an ka yecogo nafamafɛnw ye. O nafalanw tɛ display
nafa caman sɛmɛntiya hali dɔɔnin wa u tɛ nɔ bila layidu la – .invisible
fɛnw bɛ yɔrɔ ta hali bi ɲɛ kɔnɔ.
Fɛn minnu bɛ
.invisible
kalan na, olu bɛna dogo
yecogo la ani dɛmɛni fɛɛrɛw/ɛkran kalanbagaw ye.
Aw bɛ a kɛ .visible
walima .invisible
ni aw mago bɛ a la.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass ye
Nafamafɛnw API
Yecogo nafamafɛnw bɛ fɔ an ka nafamafɛnw API kɔnɔ san scss/_utilities.scss
. Aw ye baara kɛcogo dɔn ni utilities API ye.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)