Source

Hloov duab

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

Siv cov .text-hidechav kawm lossis mixin los pab hloov lub ntsiab lus cov ntsiab lus 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('/docs/4.0/assets/brand/bootstrap-solid.svg'); width: 50px; height: 50px;">Bootstrap</h1>