Add function to calculate rem
This commit is contained in:
parent
08efcec4a6
commit
fa8f0b6d7c
|
|
@ -0,0 +1,5 @@
|
||||||
|
@import "variables";
|
||||||
|
|
||||||
|
@function toRem($px) {
|
||||||
|
@return $px / $base-font-size-pixels * 1rem;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue