CSS Clear FIx Mixin para SASS
# style.scss
@mixin clearFix(){
&:before,
&:after{
content: " ";
display: table;
}
&:after{
display: block;
clear: both;
height: 1px;
margin-top: -1px;
visibility: hidden;
}
&{
*zoom: 1;
}
}
Como usar
.container{
@include clearFix();
.column{
float: left;
}
}