in English
Imej riplesmɛnt
Swap tɛks fɔ bakgrɔn pikchɔ dɛn wit di pikchɔ riplesmɛnt klas.
Wɔnin
Di text-hide()
klas ɛn mixin dɔn deprecated as of v4.1. I go kɔmɔt ɔlsay na v5.
Yuz di .text-hide
klas ɔ 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-hide
klas fɔ mentɛn di aksesibiliti ɛn SEO bɛnifit dɛn fɔ edlayn tag dɛn, bɔt want fɔ yuz wan background-image
instead ɔf tɛks.
Bootstrap fɔ yuz
<h1 class="text-hide" style="background-image: url('...');">Bootstrap</h1>