The clearfix
mixin is an easy way of adding the clearfix hack. This fixes an issue where elements placed after other elements with float
properties will flow around it and break the layout. In the most recent EvoToolkit, floats are no longer used, but keeping this mixin around is no bad thing, as you never know.
For more information on the clearfix hack and the problem it solves, click here.
.c-my-component {
float: left;
@include clearfix();
}