Source

Imej riplesmɛnt

Swap tɛks fɔ bakgrɔn pikchɔ dɛn wit di pikchɔ riplesmɛnt klas.

Yuz di .text-hideklas ɔ mixin fɔ ɛp fɔ riples wan ɛlimɛnt in tɛks kɔntinyu wit bakgrɔn pikchɔ.

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

Yuz di .text-hideklas fɔ mentɛn di aksesibiliti ɛn SEO bɛnifit dɛn fɔ edlayn tag dɛn, bɔt want fɔ yuz wan background-imageinstead ɔf tɛks.

Bootstrap fɔ yuz

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