Using best practices to apply the proper units to the font-size mixin. See http://sass-guidelin.es/#units

This commit is contained in:
Tracy Rotton 2015-02-17 22:28:00 -05:00
parent 70db168dc6
commit 0395cd6bba
1 changed files with 2 additions and 2 deletions

View File

@ -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