Clearfix

Examples

Simply clear floats by calling the mixin in the parent element’s selector.

.element{
  @include clearfix;
}
//CSS Output
.element::after {
  content: "";
  display: block;
  clear: both;
}