This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* a small mixin for easy use of rem with px as fallback | |
* usage: @include x-rem(font-size, 14px) | |
* usage: @include x-rem(marign, 0 12px 2 1.2) | |
* usage: @include x-rem(padding, 1.5 24px) | |
* | |
* thanks to Eric Meyer for https://github.com/ericam/susy | |
* and Hans Christian Reinl for http://drublic.de/blog/rem-fallback-sass-less/ | |
*/ | |
@mixin x-rem($property, $values) { |