Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @mixin animation ($value) {
- -webkit-animation: $value;
- -moz-animation: $value;
- -o-animation: $value;
- animation: $value;
- }
- @mixin border-radius($value) {
- -webkit-border-radius: $value;
- -moz-border-radius: $value;
- border-radius: $value;
- }
- @mixin box-shadow($value) {
- -webkit-box-shadow: $value;
- -moz-box-shadow: $value;
- box-shadow: $value;
- }
- @mixin transform ($value) {
- -webkit-transform: $value;
- -moz-transform: $value;
- -ms-transform: $value;
- -o-transform: $value;
- transform: $value;
- }
- @mixin transition ($value) {
- -webkit-transition: $value;
- -moz-transition: $value;
- -o-transition: $value;
- transition: $value;
- }
- @mixin keyframes($animationName) {
- @-webkit-keyframes #{$animationName} {
- @content;
- }
- @-moz-keyframes #{$animationName} {
- @content;
- }
- @-o-keyframes #{$animationName} {
- @content;
- }
- @keyframes #{$animationName} {
- @content;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement