Source

Imago postea

Swap text for background images with the image replacement class.

Monitum

Classis et text-hide()mixin deprecata est ut v4.1. Totum tolletur in v5.

Classem .text-hidevel mixin utendum est ut adiuvet reponere textus elementi contenti cum imagine ima.

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

Utere classibus ad accessibilitatem et SEO beneficia petendi tags conservandam, sed loco textu .text-hideuti volo .background-image

Bootstrap

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