Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. @mixin animation ($value) {
  2. -webkit-animation: $value;
  3. -moz-animation: $value;
  4. -o-animation: $value;
  5. animation: $value;
  6. }
  7.  
  8. @mixin border-radius($value) {
  9. -webkit-border-radius: $value;
  10. -moz-border-radius: $value;
  11. border-radius: $value;
  12. }
  13.  
  14. @mixin box-shadow($value) {
  15. -webkit-box-shadow: $value;
  16. -moz-box-shadow: $value;
  17. box-shadow: $value;
  18. }
  19.  
  20. @mixin transform ($value) {
  21. -webkit-transform: $value;
  22. -moz-transform: $value;
  23. -ms-transform: $value;
  24. -o-transform: $value;
  25. transform: $value;
  26. }
  27.  
  28. @mixin transition ($value) {
  29. -webkit-transition: $value;
  30. -moz-transition: $value;
  31. -o-transition: $value;
  32. transition: $value;
  33. }
  34.  
  35. @mixin keyframes($animationName) {
  36. @-webkit-keyframes #{$animationName} {
  37. @content;
  38. }
  39. @-moz-keyframes #{$animationName} {
  40. @content;
  41. }
  42. @-o-keyframes #{$animationName} {
  43. @content;
  44. }
  45. @keyframes #{$animationName} {
  46. @content;
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement