forked from mirror/_s
Using best practices to apply the proper units to the font-size mixin. See http://sass-guidelin.es/#units
This commit is contained in:
parent
70db168dc6
commit
0395cd6bba
|
@ -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