in English
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-hide
vel 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-hide
uti volo .background-image
Bootstrap
<h1 class="text-hide" style="background-image: url('...');">Bootstrap</h1>