Source

Kutsiva mufananidzo

Chinjana mavara emifananidzo yekumashure nekirasi yekutsiva mufananidzo.

Yambiro

Kirasi text-hide()uye mixin yakadzikiswa kubva pav4.1. Ichabviswa zvachose muv5.

Shandisa .text-hidekirasi kana mixin kubatsira kutsiva chinyorwa chechinhu nemufananidzo wekumashure.

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

Shandisa .text-hidekirasi kuchengetedza kuwanikwa uye SEO mabhenefiti emusoro ma tag, asi unoda kushandisa a background-imagepachinzvimbo chemavara.

Bootstrap

<h1 class="text-hide" style="background-image: url('...');">Bootstrap</h1>