Source

Hloov duab

Hloov cov ntawv rau cov duab tom qab nrog cov duab hloov chav kawm.

Ceeb toom

Cov text-hide()chav kawm thiab mixin tau raug deprecated raws li v4.1. Nws yuav raug tshem tawm tag nrho hauv v5.

Siv cov .text-hidechav kawm lossis mixin los pab hloov cov ntsiab lus ntawm cov ntawv nyeem nrog cov duab tom qab.

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

Siv cov .text-hidechav kawm kom tswj tau qhov kev nkag tau yooj yim thiab SEO cov txiaj ntsig ntawm cov ntawv cim npe, tab sis xav siv background-imagecov ntawv nyeem.

Bootstrap

<h1 class="text-hide" style="background-image: url('..');">Bootstrap</h1>