src/tools/_clearfix.scss
// =====================================================
// Clearfix
// =====================================================
// Better alternative from overflow hidden
// Reference:
// - http://nicolasgallagher.com/micro-clearfix-hack/
@mixin clearfix {
// scss-lint:disable PropertySpelling
*zoom: 1;
// scss-lint:enable PropertySpelling
&::before,
&::after {
content: " ";
display: table;
}
&::after {
clear: both;
}
}