Merge pull request #703 from taupecat/upstream-master

Using best practices to apply the proper units to the font-size mixin.

See http://sass-guidelin.es/#units
This commit is contained in:
Konstantin Obenland 2015-02-17 20:01:20 -08:00
commit d5c78acc10
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// Rem output with px fallback // Rem output with px fallback
@mixin font-size($sizeValue: 1) { @mixin font-size($sizeValue: 1) {
font-size: ($sizeValue * 16) + px; font-size: ($sizeValue * 16) * 1px;
font-size: $sizeValue + rem; font-size: $sizeValue * 1rem;
} }
// Center block // Center block