Skip to content
Snippets Groups Projects
_mixins.clearfix.scss 274 B
Newer Older
// @file
// Clearfix

@mixin clearfix($important: false) {
  &::after {
    clear: both iff($important, !important);
    content: '' iff($important, !important);
    display: table iff($important, !important);
  }
}

@mixin clearfix-important {
  @include clearfix(true);
}