Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. /**
  2. * FR Welcome Video 1
  3. */
  4.  
  5. @keyframes zoomIn {
  6. from{
  7. transform: scale(1);
  8. transform-origin: left top;
  9. }
  10. to {
  11. transform: scale(1.5);
  12. transform-origin: left top;
  13. }
  14. }
  15.  
  16. @keyframes zoomOut {
  17. from {
  18. transform: scale(1.5);
  19. transform-origin: left top;
  20. }
  21. to {
  22. transform: scale(1);
  23. transform-origin: left top;
  24. }
  25. }
  26.  
  27. @keyframes moveTitle {
  28. to {
  29. left: 58px;
  30. top: 144px;
  31. width: 188px;
  32. transform-origin: left top;
  33. }
  34. }
  35.  
  36. @keyframes cursorMove {
  37. 7% {
  38. transform: translate(-150px, 70px);
  39. }
  40. 15%, 20% {
  41. transform: translate(-365px, 41px);
  42. }
  43. 35% {
  44. transform: translate(-410px, 200px);
  45. }
  46. 45% {
  47. transform: translate(-170px, 300px);
  48. }
  49. 55%, 63% {
  50. transform: translate(-25px, -10px);
  51. }
  52. 75% {
  53. transform: translate(-115px, 75px);
  54. }
  55. 85%, 88% {
  56. transform: translate(-120px, 105px);
  57. }
  58. 100% {
  59. transform: translate(-120px, 120px);
  60. }
  61. }
  62.  
  63. @keyframes clickButton {
  64. 0% {
  65. opacity: 1;
  66. top: 78px;
  67. left: 133px;
  68. }
  69. 10%, 89% {
  70. opacity: 0;
  71. top: 78px;
  72. left: 133px;
  73. }
  74. 90% {
  75. opacity: 1;
  76. top: 24px;
  77. right: 0;
  78. left: auto;
  79. }
  80. 100% {
  81. opacity: 0;
  82. top: 24px;
  83. right: 0;
  84. left: auto;
  85. }
  86. }
  87.  
  88. @keyframes clickTitle {
  89. to {
  90. opacity: 1;
  91. border: 2px solid #338bff;
  92. }
  93. }
  94.  
  95. @keyframes hide {
  96. to {
  97. opacity: 0;
  98. }
  99. }
  100.  
  101. @keyframes show {
  102. to {
  103. opacity: 1;
  104. }
  105. }
  106.  
  107. @keyframes typing {
  108. from {
  109. width: 0;
  110. }
  111. }
  112.  
  113. @keyframes caret {
  114. 50% {
  115. border-right-color: transparent;
  116. }
  117. }
  118.  
  119. .container {
  120. width: 506px;
  121. height: 460px;
  122. position: relative;
  123. overflow: hidden;
  124. }
  125.  
  126. .screenshot {
  127. height: 460px;
  128. width: auto;
  129. position: absolute;
  130. top: 0;
  131. left: 0;
  132. }
  133.  
  134. .startscreen {
  135. /*z-index: 30;*/
  136. }
  137.  
  138. .screenshot_1 {
  139. animation: zoomIn 1s linear forwards, hide 250 steps(1) forwards 3s;
  140. animation-play-state: running;
  141. /*animation-iteration-count: infinite;*/
  142. }
  143.  
  144. .screenshot_2 {
  145. opacity: 0;
  146. transform: scale(1.5);
  147. transform-origin: left top;
  148. animation: show 250ms steps(1) forwards 2200ms, zoomOut 1s linear forwards 5s, hide 250ms steps(1) forwards 6750s;
  149. animation-play-state: running;
  150. }
  151.  
  152. .screenshot_3 {
  153. opacity: 0;
  154. animation: show 250ms steps(1) forwards 6750ms, hide 250ms steps(1) forwards 8250ms;
  155. animation-play-state: running;
  156. }
  157.  
  158. .screenshot_4 {
  159. opacity: 0;
  160. animation: show 250ms steps(1) forwards 8s;
  161. animation-play-state: running;
  162. }
  163.  
  164. .screenshot_5 {
  165. width: 130px;
  166. position: absolute;
  167. top: 112px;
  168. right: 0;
  169. opacity: 0;
  170. animation: show 250ms steps(1) forwards 9750ms;
  171. animation-play-state: running;
  172. }
  173.  
  174. .cursor {
  175. width: 20px;
  176. height: 20px;
  177. position: absolute;
  178. z-index: 10;
  179. border: 1px solid #b0b0b0;
  180. border-radius: 50%;
  181. background-color: #f5f5f5;
  182. opacity: 0.6;
  183. top: 10%;
  184. right: -20px;
  185. transition: all ease-in-out;
  186. animation: cursorMove 10500ms ease-in forwards 500ms, hide 250ms steps(1) forwards 11500ms;
  187. animation-play-state: running;
  188. }
  189.  
  190. .buttonAB {
  191. position: absolute;
  192. width: 33px;
  193. height: 33px;
  194. border: 2px solid red;
  195. opacity: 0;
  196. animation: clickButton 5s steps(3) forwards 2100ms;
  197. animation-play-state: running;
  198. }
  199.  
  200. .title {
  201. position: absolute;
  202. top: 216px;
  203. left: 87px;
  204. width: 283px;
  205. opacity: 0;
  206. z-index: 5;
  207. animation: show 250ms steps(1) forwards 3750ms, moveTitle 1s linear forwards 5s, hide 250ms steps(1) forwards 7s;
  208. animation-play-state: running;
  209. }
  210.  
  211. .comment {
  212. position: absolute;
  213. top: 169px;
  214. left: 387px;
  215. z-index: 20;
  216. font-size: 6px !important;
  217. line-height: 6px;
  218. font-family: Consolas, Monaco, monospace;
  219. color: #000;
  220. width: 26ch;
  221. white-space: nowrap;
  222. overflow: hidden;
  223. border-right: 0.05em solid;
  224. opacity: 0;
  225. animation: show 250ms steps(1) forwards 11s, typing 6s steps(26) 11250ms, caret 1s steps(1) infinite 11250ms;
  226. animation-play-state: running;
  227. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement