Sha256: b0e056b971134c13438bd72558c8b33fd727f88776d2dcb6c8e0ebb6a8ec7309

Contents?: true

Size: 365 Bytes

Versions: 15

Compression:

Stored size: 365 Bytes

Contents

//////////////////////////////
// Clearfix Mixin
//////////////////////////////
$clearfix-extend: false !default;

@mixin clearfix($extend: $clearfix-extend) {
  @if $extend {
    @extend %singularity-clearfix;
  }
  @else {
    &:after {
      content: "";
      display: table;
      clear: both;
    }
  }
}

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
singularitygs-1.8.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.7.1 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.7.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.6.2 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.6.1 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.5.1 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.5.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.4.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.3.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.3 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.1 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.0 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.0.rc.6 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.0.rc.3 stylesheets/singularitygs/helpers/_clearfix.scss
singularitygs-1.2.0.rc.1 stylesheets/singularitygs/helpers/_clearfix.scss