Sha256: cf6eff9efe16d195020c2f3a56a7ff8565e67cd457caae52a59d455503eeaf00

Contents?: true

Size: 542 Bytes

Versions: 15

Compression:

Stored size: 542 Bytes

Contents

///
/// Micro flint-clearfix
///
/// @access private
///
/// @link http://nicolasgallagher.com/micro-clearfix-hack/
///
/// @requires {Mixin} clearfix - local mixin if available
///
/// @group Internal Mixins
///
@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

15 entries across 15 versions & 1 rubygems

Version Path
flint-gs-2.3.6 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.5 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.4 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.3 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.2 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.1 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.3.0 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.2.0 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.1.4 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.1.3 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.1.2 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.1.1 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.1.0 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.0.9 stylesheets/flint/mixins/lib/_clearfix.scss
flint-gs-2.0.8 stylesheets/flint/mixins/lib/_clearfix.scss