Made em(..) return an actual number (#3735)

This commit is contained in:
Hugo Giraudel
2016-08-12 13:51:37 +02:00
committed by Joram Wilander
parent 225ea35895
commit 1cd0ec5f1e

View File

@@ -1,7 +1,7 @@
@charset "UTF-8";
@function em($pixels, $context: 14px) {
@return #{$pixels/$context}em
@return ($pixels / $context * 1em)
}
@function alpha-color($color, $amount) {
@@ -20,4 +20,4 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}
}