Source

Whakakapi whakaahua

Hurihia te kuputuhi mo nga whakaahua papamuri me te akomanga whakakapi atahanga.

Whakatupato

Kua text-hide()whakakorehia te karaehe me te ranunga mai i te v4.1. Ka tangohia katoatia i roto i te v5.

Whakamahia te .text-hidekaraehe, te ranunga ranei hei awhina i te whakakapi i te ihirangi kuputuhi o tetahi huānga ki te ahua papamuri.

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

Whakamahia te .text-hidekaraehe ki te pupuri i te urunga me nga painga SEO o nga tohu pane, engari ko te hiahia ki te whakamahi hei background-imageutu mo te tuhinga.

Bootstrap

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