You are here

rotating-plane.css in Ajax loader 7

Same filename and directory in other branches
  1. 8 css/rotating-plane.css
.ajax-throbber.sk-rotating-plane {
    position: inherit;
    background-color: #333;
    -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
    animation: sk-rotatePlane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

@keyframes sk-rotatePlane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

File

css/rotating-plane.css
View source
  1. .ajax-throbber.sk-rotating-plane {
  2. position: inherit;
  3. background-color: #333;
  4. -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
  5. animation: sk-rotatePlane 1.2s infinite ease-in-out;
  6. }
  7. @-webkit-keyframes sk-rotatePlane {
  8. 0% {
  9. -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  10. transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  11. }
  12. 50% {
  13. -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  14. transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  15. }
  16. 100% {
  17. -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  18. transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  19. }
  20. }
  21. @keyframes sk-rotatePlane {
  22. 0% {
  23. -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  24. transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  25. }
  26. 50% {
  27. -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  28. transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  29. }
  30. 100% {
  31. -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  32. transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  33. }
  34. }