Created
March 9, 2015 18:59
-
-
Save tdrach/d5a794500e26132d41d7 to your computer and use it in GitHub Desktop.
Vendor prefix any and all CSS properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mixin | |
@mixin vp($property, $values) { | |
-webkit-#{$property}: #{$values}; | |
-ms-#{$property}: #{$values}; | |
-moz-#{$property}: #{$values}; | |
-o-#{$property}: #{$values}; | |
#{$property}: #{$values}; | |
} | |
// Mixin - Usage | |
.touch-link { | |
@include vp(user-select, none); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment