in English
Ukutshintshwa komfanekiso
Tshintsha okubhaliweyo kwimifanekiso yangasemva ngeklasi yokutshintsha umfanekiso.
Isilumkiso
Iklasi text-hide()
kunye ne-mixin iye yarhoxiswa njenge-v4.1. Iza kususwa ngokupheleleyo kwi-v5.
Sebenzisa .text-hide
iklasi okanye i-mixin ukunceda ukubuyisela umxholo wesicatshulwa ngomfanekiso ongasemva.
<h1 class="text-hide">Custom heading</h1>
// Usage as a mixin
.heading {
@include text-hide;
}
Sebenzisa .text-hide
iklasi ukugcina ukufikeleleka kunye neenzuzo ze-SEO zeethegi zesihloko, kodwa ufuna ukusebenzisa u-a background-image
endaweni yesicatshulwa.
I-Bootstrap
<h1 class="text-hide" style="background-image: url('...');">Bootstrap</h1>