CSS3 Transition effect (other effects)

Source: Internet
Author: User

http://blog.csdn.net/jerryvon/article/details/8755548

Organized some other animations, using templates for the flip template, but CSS3 different

[CSS]View Plaincopyprint?
  1. /***************** fade-in Fade ********************/
  2. . Effect5. Back {
  3. -webkit-transform:rotate3d (1,0,0,0);
  4. }
  5. . Effect5. Show. front{
  6. -webkit-animation:effect5Front 0.6s linear forwards;
  7. }
  8. @-webkit-keyframes effect5front{
  9. 0% {opacity: 1;}
  10. 100% {opacity: 0;}
  11. }
  12. /***************** to the left and push into the ********************/.
  13. . transition.effect6 { overflow: hidden;}
  14. . Effect6. Show. Front,
  15. . Effect6. Show. back{
  16. -webkit-animation-duration: 0.4s;
  17. -webkit-animation-timing-function:ease-out;
  18. -webkit-animation-fill-mode:forwards;
  19. }
  20. . Effect6. Show. front{
  21. -webkit-animation-name:effect6Front;
  22. }
  23. . Effect6. Show. Back {
  24. -webkit-animation-name:effect6Back;
  25. }
  26. @-webkit-keyframes effect6front{
  27. 0% {-webkit-transform:translatex (0);}
  28. 100% {-webkit-transform:translatex (-100%);}
  29. }
  30. @-webkit-keyframes effect6back{
  31. 0% {-webkit-transform:translatex (100%);}
  32. 100% {-webkit-transform:translatex (0px);}
  33. }
  34. /***************** from a corner to cover the original picture ********************/
  35. . Effect7. front{ Z-index: 1;}
  36. . Effect7. back{ Z-index: 2;}
  37. . Effect7. Show. back{
  38. -webkit-animation:effect7Back 0.4s ease-out forwards;
  39. }
  40. @-webkit-keyframes effect7back{
  41. 0% {-webkit-transform:rotate (40deg) scale (1.5) Translate (200px,10px); opacity: 0;}
  42. 100% {-webkit-transform:rotate (0deg) scale (1) Translate (0,0); opacity: 1;}
  43. }
  44. /***************** Card effect 1 ********************/
  45. . Effect8. Back {
  46. -webkit-transform:rotate3d (1,0,0,0);
  47. }
  48. . Effect8. Front {
  49. Z-index: 1;
  50. }
  51. . Effect8. Back {
  52. Z-index: 1;
  53. }
  54. . Effect8. Show. front{
  55. -webkit-animation:effect8Front 0.8s ease-in-out forwards;
  56. }
  57. @-webkit-keyframes effect8front{
  58. 0% {-webkit-transform:translatex (0);  Z-index: 3;}
  59. 50% {-webkit-transform:rotatez (-5deg) TranslateX (-339px);  Z-index: 3;}
  60. 51% { z-index: 1;}
  61. 100% {-webkit-transform:rotatez (0deg) TranslateX (0px);  Z-index: 1;}
  62. }
  63. /***************** Card Effect 2 ********************/
  64. . Effect9. Back {
  65. -webkit-transform:rotate3d (1,0,0,0);
  66. }
  67. . Effect9. Show. Front,
  68. . Effect9. Show. back{
  69. -webkit-animation-duration: 0.8s;
  70. -webkit-animation-timing-function:ease-in-out;
  71. -webkit-animation-fill-mode:forwards;
  72. -webkit-transform-origin: 0% 100%;
  73. }
  74. . Effect9. Show. front{
  75. -webkit-animation-name:effect9Front;
  76. }
  77. . Effect9. Show. Back {
  78. -webkit-animation-name:effect9Back;
  79. }
  80. @-webkit-keyframes effect9front{
  81. 0% { z-index: 3;}
  82. 50% {-webkit-transform:rotatez (-75deg);  Z-index: 3;}
  83. 51% { z-index: 1;}
  84. 100% {-webkit-transform:rotatez (0deg);  Z-index: 1;}
  85. }
  86. @-webkit-keyframes effect9back{
  87. 0% { z-index: 1;}
  88. 50% {-webkit-transform:rotatez (20deg);  Z-index: 1;}
  89. 51% { z-index: 3;}
  90. 100% {-webkit-transform:rotatez (0deg);  Z-index: 3;}
  91. }
  92. /***************** fade out Effect 2 ********************/
  93. . Effect. Back {
  94. -webkit-transform:rotate3d (1,0,0,0);
  95. }
  96. . Effect. Show. front{
  97. -webkit-animation:effect10Front 0.4s ease-in-out forwards;
  98. }
  99. @-webkit-keyframes effect10front{
  100. 0% {opacity:1;}
  101. 100% {-webkit-transform:rotatez (3deg) scale (1.5); opacity:0;}
  102. }
  103. /***************** effect11 ********************/
  104. . Effect. Back {
  105. -webkit-transform:rotate3d (1,0,0,0);
  106. }
  107. . Effect. Show. front{
  108. -webkit-transform-origin: 0% 100%;
  109. }
  110. . Effect. Show. front{
  111. -webkit-animation:effect11Front 1s ease-in-out forwards;
  112. }
  113. @-webkit-keyframes effect11front{
  114. 0% { z-index: 3;-webkit-animation-timing-function:ease-in}
  115. 20% {-webkit-transform:rotatez (180deg); z-index: 3;-webkit-animation-timing-function:ease-out}
  116. 21% { z-index: 1;}
  117. 40% {-webkit-transform:rotatez (370deg);  Z-index: 1;}
  118. 60% {-webkit-transform:rotatez (356deg);  Z-index: 1;}
  119. 80% {-webkit-transform:rotatez (360deg);  Z-index: 1;}
  120. 95% {-webkit-transform:rotatez (359deg);  Z-index: 1;}
  121. 100% {-webkit-transform:rotatez (360deg);  Z-index: 1;}
  122. }
  123. /***************** Center point Diffusion Display (mask) ********************/
  124. . Effect.back{
  125. -webkit-transform:rotate3d (1,0,0,0);
  126. }
  127. . Effect. Back{
  128. -webkit-mask-image: url (... /..  /assets/circle-mask.png);
  129. -webkit-mask-repeat: no-repeat;
  130. -webkit-mask-Position: 50% 50%;
  131. -webkit-mask-Size: 1500px;
  132. -webkit-animation-duration: 1s;
  133. }
  134. . Effect. Show. back{
  135. -webkit-animation-name:iris;
  136. Z-index:3;
  137. }
  138. @-webkit-keyframes Iris {
  139. 0% {-webkit-mask-size: 0;-webkit-animation-timing-function:ease-in-out;}
  140. 100% {-webkit-mask-size: 1500px;}
  141. }

CSS3 Transition effect (other effects)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.