Source

Gusimbuza amashusho

Hindura inyandiko kumashusho yinyuma hamwe nicyiciro cyo gusimbuza icyiciro.

Iburira

Urwego text-hide()na mixin byateshejwe agaciro kuva v4.1. Bizakurwaho rwose muri v5.

Koresha urwego .text-hidecyangwa kuvanga kugirango ufashe gusimbuza ibintu bigize inyandiko hamwe nishusho yinyuma.

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

Koresha urwego .text-hidekugirango ukomeze kugerwaho ninyungu za SEO zo gutondekanya imitwe, ariko ushaka gukoresha background-imageaho gukoresha inyandiko.

Bootstrap

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