Source

Pani kiʻi

Hoʻololi i ke kikokikona no nā kiʻi hope me ka papa pani kiʻi.

ʻŌlelo aʻo

Ua hoʻopau ʻia ka text-hide()papa a me ka mixin e like me v4.1. E wehe loa ia ma v5.

E hoʻohana i ka .text-hidepapa a i ʻole mixin e hoʻololi i ka ʻike kikokikona o kahi mea me ke kiʻi hope.

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

E hoʻohana i ka .text-hidepapa e mālama i ka hiki a me nā pono SEO o ke poʻo inoa, akā makemake e hoʻohana i background-imagekahi kikokikona.

Bootstrap

<h1 class="text-hide" style="background-image: url('/docs/4.1/assets/brand/bootstrap-solid.svg'); width: 50px; height: 50px;">Bootstrap</h1>