Sha256: 4b0c437bd7a8ba4819e3181898d8c9ca6c39f6ebedf68863b54da32ac74dc652

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

/**
 * Micro flint-clearfix
 *
 * @access private
 *
 * @link http://nicolasgallagher.com/micro-clearfix-hack/
 *
 * @requires {Mixin} clearfix - local mixin if available
 */
@mixin flint-clearfix {
    @if mixin-exists("clearfix") {
        @include clearfix;
    } @else {
        zoom: 1;

        &:before, &:after {
            content: "\0020";
            display: block;
            height: 0;
            overflow: hidden;
        }

        &:after {
            clear: both;
        }
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flint-gs-2.0.5 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.0.4 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.0.3 stylesheets/flint/mixins/lib/_clearfix.scss