Skip to content

Instantly share code, notes, and snippets.


Jess Dale jessicaldale

  • NYC
View GitHub Profile
View rem-mixin.scss
* 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
* and Hans Christian Reinl for
@mixin x-rem($property, $values) {
You can’t perform that action at this time.