From 0395cd6bba9a6562f14dce207c5f059f0da0f88d Mon Sep 17 00:00:00 2001 From: Tracy Rotton Date: Tue, 17 Feb 2015 22:28:00 -0500 Subject: [PATCH] Using best practices to apply the proper units to the font-size mixin. See http://sass-guidelin.es/#units --- sass/mixins/_mixins-master.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/mixins/_mixins-master.scss b/sass/mixins/_mixins-master.scss index ce40dd64..d1f15288 100644 --- a/sass/mixins/_mixins-master.scss +++ b/sass/mixins/_mixins-master.scss @@ -1,7 +1,7 @@ // Rem output with px fallback @mixin font-size($sizeValue: 1) { - font-size: ($sizeValue * 16) + px; - font-size: $sizeValue + rem; + font-size: ($sizeValue * 16) * 1px; + font-size: $sizeValue * 1rem; } // Center block