Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @mixin css3-prefix($property, $value) {
- -webkit-#{$property}: #{$value};
- -khtml-#{$property}: #{$value};
- -moz-#{$property}: #{$value};
- -ms-#{$property}: #{$value};
- -o-#{$property}: #{$value};
- #{$property}: #{$value};
- }
- // Transform-Style
- /// @param {List} $params - Params
- /// @require {mixin} css3-prefix
- @mixin transform-style($style: preserve-3d) {
- @include css3-prefix('transform-style', $style);
- }
- /// Transition
- /// @param {List} $properties - Properties
- /// @require {mixin} css3-prefix
- @mixin transition($properties...) {
- @if length($properties) >= 1 {
- @include css3-prefix('transition', $properties);
- }
- @else {
- @include css3-prefix('transition', "all 0.2s ease-in-out 0s");
- }
- }
Add Comment
Please, Sign In to add comment