Clearfix
Provides a clearfix utility for floating elements.
- clearfix
Code
@mixin clearfix {
&::after {
content: '';
display: block;
clear: both;
}
}Provides a clearfix utility for floating elements.
@mixin clearfix {
&::after {
content: '';
display: block;
clear: both;
}
}