Source

Ku cinciwa ka swifaniso

Cinca tsalwa hi swifaniso swa le ndzhaku hi tlilasi yo cinca swifaniso.

Xilemukisi

Tlilasi text-hide()na mixin swi herisiwile ku sukela eka v4.1. Yi ta susiwa hi ku helela eka v5.

Tirhisa .text-hidetlilasi kumbe mixin ku pfuneta ku siva nhundzu ya tsalwa ra elemente hi xifaniso xa le ndzhaku.

<h1 class="text-hide">Custom heading</h1>
// Usage as a mixin
.heading {
  @include text-hide;
}

Tirhisa .text-hidetlilasi ku hlayisa ku fikelela na mimpfuno ya SEO ya tithegi ta nhlokomhaka, kambe lava ku tirhisa a background-imageematshan’wini ya tsalwa.

Xirhendzevutana xa xirhendzevutani

<h1 class="text-hide" style="background-image: url('/docs/4.1/assets/brand/bootstrap-solid.svg'); width: 50px; height: 50px;">Bootstrap</h1>