mixin: clearfix-extend
%clearfix { *zoom: 1; &:before, &:after { content: " "; display: table; } &:after { clear: both; } } //Usage .container-with-floated-children { @extend %clearfix; }