23 lines
481 B
SCSS
23 lines
481 B
SCSS
/**
|
|
* @description
|
|
* Generates cross-browser-compatible output for a given element with its value.
|
|
*
|
|
* @author sthag
|
|
*
|
|
* @param values
|
|
* @returns
|
|
* -webkit-<name>: <values>
|
|
* ...-<name>: <values>
|
|
*
|
|
* @example
|
|
* .selector
|
|
* @include vendor-prefix(hyphens, auto)
|
|
*/
|
|
@mixin vendor-prefix($name, $argument) {
|
|
-webkit-#{$name}: #{$argument};
|
|
-ms-#{$name}: #{$argument};
|
|
-moz-#{$name}: #{$argument};
|
|
-o-#{$name}: #{$argument};
|
|
#{$name}: #{$argument};
|
|
}
|
|
|