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.

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.0/assets/brand/bootstrap-solid.svg'); width: 50px; height: 50px;">Bootstrap</h1>