Advertisement
Guest User

Untitled

a guest
Nov 5th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 1.85 KB | None | 0 0
  1. // animation rotate spinner
  2. // ====================
  3. @mixin animationRotateSpinner() {
  4.   -webkit-animation: rotate 1.2s infinite linear;
  5.   -ms-animation: rotate 1.2s infinite linear;
  6.   -o-animation: rotate 1.2s infinite linear;
  7.   -moz-animation: rotate 1.2s infinite linear;
  8.   animation: rotate 1.2s infinite linear;
  9. }
  10.  
  11. @mixin fadeIn() {
  12.   -webkit-animation: fadeIn .3s ease-in-out both;
  13.   -ms-animation: fadeIn .3s ease-in-out both;
  14.   -o-animation: fadeIn .3s ease-in-out both;
  15.   -moz-animation: fadeIn .3s ease-in-out both;
  16.   animation: fadeIn .3s ease-in-out both;
  17. }
  18.  
  19. @mixin fadeOut() {
  20.   -webkit-animation: fadeOut .3s ease-in-out both;
  21.   -ms-animation: fadeOut .3s ease-in-out both;
  22.   -o-animation: fadeOut .3s ease-in-out both;
  23.   -moz-animation: fadeOut .3s ease-in-out both;
  24.   animation: fadeOut .3s ease-in-out both;
  25. }
  26.  
  27. @-webkit-keyframes rotate {
  28.   from {
  29.       -moz-transform: rotateZ(0deg);  /* FF3.5/3.6 */
  30.       -o-transform: rotateZ(0deg);  /* Opera 10.5 */
  31.       -webkit-transform: rotateZ(0deg);  /* Saf3.1+ */
  32.       transform: rotateZ(0deg);
  33.   }
  34.   to {
  35.       -moz-transform: rotateZ(360deg);  /* FF3.5/3.6 */
  36.       -o-transform: rotateZ(360deg);  /* Opera 10.5 */
  37.       -webkit-transform: rotateZ(360deg);  /* Saf3.1+ */
  38.       transform: rotateZ(360deg);
  39.   }
  40. }  
  41.  
  42. @-ms-keyframes rotate {
  43.   0% {             
  44.       -ms-transform: rotateZ(0deg);          
  45.   }
  46.   100% {   
  47.       -ms-transform: rotateZ(360deg);
  48.   }
  49. }
  50.  
  51. @keyframes fadeIn {
  52.   from {opacity: 0;}
  53.   to {opacity: 1;}
  54. }
  55.  
  56. @-webkit-keyframes fadeIn {
  57.   from {opacity: 0;}
  58.   to {opacity: 1;}
  59. }
  60.  
  61. @-ms-keyframes fadeIn {
  62.   from {opacity: 0;}
  63.   to {opacity: 1;}
  64. }
  65.  
  66. @-webkit-keyframes fadeOut {
  67.   from {opacity: 0;}
  68.   to {opacity: 1;}
  69. }
  70.  
  71. @-ms-keyframes fadeOut {
  72.   from {opacity: 0;}
  73.   to {opacity: 1;}
  74. }
  75.  
  76. @keyframes fadeOut {
  77.   from {opacity: 0;}
  78.   to {opacity: 1;}
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement