Skip to content

Instantly share code, notes, and snippets.

@davidyeiser
Created February 14, 2012 16:15
Show Gist options
  • Save davidyeiser/1827834 to your computer and use it in GitHub Desktop.
Save davidyeiser/1827834 to your computer and use it in GitHub Desktop.
Adds the exp() function to SASS
module Sass::Script::Functions
def exp(value, power)
Sass::Script::Number.new(value.value**power.value)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment