Skip to content

Instantly share code, notes, and snippets.

@dillmo
Last active May 8, 2018 22:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dillmo/7491807 to your computer and use it in GitHub Desktop.
Save dillmo/7491807 to your computer and use it in GitHub Desktop.
SASS: vendor prefix mixins
@mixin vendor-prefix($property, $value)
-webkit-#{$property}: $value
-moz-#{$property}: $value
-ms-#{$property}: #{$value}
-o-#{$property}: #{$value}
#{$property}: #{$value}
@mixin value-vendor-prefix($property, $value)
#{$property}: -webkit-#{$value}
#{$property}: -moz-#{$value}
#{$property}: -ms-#{$value}
#{$property}: -o-#{$value}
#{$property}: #{$value}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment