Gara qabiyyee ijootti darbi Gara docs navigationitti darbi
Check
in English

Qulqulleessi

Faayidaa clearfix dabaluudhaan qabiyyee lola'e saffisaa fi salphaatti qulqulleessi.

Qaama warraa irrattifloat dabaluudhaan s salphaatti qulqulleessi . Akka mixin ttis fayyadamuu ni danda'ama..clearfix

HTML keessatti fayyadami:

<div class="clearfix">...</div>

Koodiin madda mixin:

@mixin clearfix() {
  &::after {
    display: block;
    clear: both;
    content: "";
  }
}

SCSS keessatti mixin fayyadami:

.element {
  @include clearfix;
}

Fakkeenyi armaan gadii akkaataa qulqulleessituu itti fayyadamuu danda'amu agarsiisa. Osoo clearfix hin taane wrapping div naannoo buttons hin span ture kunis layout cabe fida.

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