forgot new file
This commit is contained in:
parent
f30d5d3567
commit
f8ffd90a83
1 changed files with 23 additions and 0 deletions
23
mixins/_vendor.scss
Normal file
23
mixins/_vendor.scss
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* @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};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue