Sha256: d9a5e3ce315ea0b391ef9a54dcc7ed697863b05a1e79fbeb729dd51bf8b013f7

Contents?: true

Size: 390 Bytes

Versions: 9

Compression:

Stored size: 390 Bytes

Contents

//////////////////////////////
// Modern Clearfix Mixin
//////////////////////////////
@mixin clearfix($extend: null) {
  $extend: if($extend != null, $extend, toolkit-get('clearfix extend'));
  @if $extend {
    @extend %toolkit-clearfix;
  }
  @else {
    &:after {
      content: "";
      display: table;
      clear: both;
    }
  }
}

%toolkit-clearfix {
  @include clearfix(false);
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
toolkit-2.0.0.alpha.10 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.9 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.8 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.7 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.6 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.5 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.4 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.3 stylesheets/toolkit/_clearfix.scss
toolkit-2.0.0.alpha.2 stylesheets/toolkit/_clearfix.scss