Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 601 Bytes
/* ------------------------------------ *\
Text Clearfix
\* ------------------------------------ */
////
/// @group Tools: Utilities
/// @author Salem Ghoweri
////
/// Provides the ability to add a proper clearfix
/// @param {boolean} $important [null] - Set true to add "!important"
/// @example scss
/// .element {
/// @include bolt-clearfix();
/// }
@mixin bolt-clearfix($important: null) {
@if $important == important {
$important: !important;
}
&:before,
&:after {
content: ' ' $important;
display: table $important;
}
&:after {
clear: both $important;
}
}
You can’t perform that action at this time.