// Rem output with px fallback @mixin font-size($sizeValue: 1) { font-size: ($sizeValue * 16) * 1px; font-size: $sizeValue * 1rem; } // Center block @mixin center-block { display: block; margin-left: auto; margin-right: auto; } // Clearfix @mixin clearfix() { content: ""; display: table; } // Clear after (not all clearfix need this also) @mixin clearfix-after() { clear: both; } // Site width and center with px fallback. @mixin site-width($siteWidth: $size__site-width) { width: ($siteWidth * 16) * 1px; width: $siteWidth * 1rem; max-width: 90%; margin: 0 auto; }