Source

Whakatikatika

Kia tere me te ngawari te hura i nga ihirangi maanu i roto i te ipu ma te taapiri i tetahi taputapu whakatika marama.

Maamaa ma floatte taapiri .clearfix ki te huānga matua . Ka taea hoki te whakamahi hei ranunga.

<div class="clearfix">...</div>
// Mixin itself
@mixin clearfix() {
  &::after {
    display: block;
    content: "";
    clear: both;
  }
}

// Usage as a mixin
.element {
  @include clearfix;
}

Ko te tauira e whai ake nei e whakaatu ana me pehea te whakamahi i te whakatika marama. Ki te kore te whakatika marama ka kore te riu takai e huri ki nga patene ka pakaru te tahora.

<div class="bg-info clearfix">
  <button type="button" class="btn btn-secondary float-left">Example Button floated left</button>
  <button type="button" class="btn btn-secondary float-right">Example Button floated right</button>
</div>