forked from mirror/_s
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:
commit
d5c78acc10
|
@ -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
|
||||||
|
|
Reference in New Issue