// Rem output with px fallback @mixin font-size($sizeValue: 1.6) { font-size: ($sizeValue * 10) + px; font-size: $sizeValue + rem; } // Box model @mixin box-sizing($box-model) { -webkit-box-sizing: $box-model; // Safari <= 7 -moz-box-sizing: $box-model; // Firefox <= 19 box-sizing: $box-model; } // Center block @mixin center-block { display: block; margin: 0 auto; } // Clearfix @mixin clearfix() { content: ""; display: table; } // Clear after (not all clearfix need this also) @mixin clearfix-after() { clear: both; }