Source

Phetoho ea setšoantšo

Fetola mongolo bakeng sa litšoantšo tse ka morao ka sehlopha sa ho nka sebaka sa litšoantšo.

Tlhokomediso

Sehlopha text-hide()le mixin li tlositsoe ho tloha ka v4.1. E tla tlosoa ka ho feletseng ho v5.

Sebelisa .text-hidesehlopha kapa mixin ho thusa ho fetola mongolo oa element ka setšoantšo sa bokamorao.

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

Sebelisa .text-hidesehlopha ho boloka phihlello le melemo ea SEO ea li-tag tsa sehlooho, empa batla ho sebelisa a ho background-imagefapana le mongolo.

Bootstrap

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