/*
For blocks of content with media beside them.
Adding overflow hidden changes the way the content interacts with the float
*/
/*
Apply it to the wrapper div
*/
@mixin content-with-media($position: left, $spacing:20px, $image: '.content-image', $content: '.content') {
#{unquote($image)} {
float:$position;
margin-#{opposite-position($position)}:$spacing;
}
#{unquote($content)} {
overflow:hidden;
float:none;
}
}