Skip to content

Instantly share code, notes, and snippets.

@keblodev
Created February 9, 2016 21:34
Show Gist options
  • Select an option

  • Save keblodev/d6ff1a6d8590e2c57886 to your computer and use it in GitHub Desktop.

Select an option

Save keblodev/d6ff1a6d8590e2c57886 to your computer and use it in GitHub Desktop.
sass autoprefixer method
/// autoprefixer method
/// ---
/// @access public
/// ---
/// @param {string|rulename} $ruleName - rule name
/// ---
/// @param {string|rule} $ruleValue - rule value
@mixin autoprefixer($ruleName, $ruleValue) {
-ms-#{$ruleName}: $ruleValue;
-moz-#{$ruleName}: $ruleValue;
-webkit-#{$ruleName}: $ruleValue;
#{$ruleName}: $ruleValue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment