Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. <h1 class="animated fadeInUp">Text text text</h1>
  2. <div class="divider animated fadeInUp"></div>
  3.  
  4. h1 {
  5. text-align: center;
  6. }
  7.  
  8. .divider {
  9. background-color: #808082;
  10. height: 2px;
  11. width: 80px;
  12. margin: 30px auto;
  13. -webkit-animation-delay: .5s;
  14. animation-delay: .5s;
  15. }
  16.  
  17. .animated {
  18. -webkit-animation-duration: 1s;
  19. animation-duration: 1s;
  20. -webkit-animation-fill-mode: both;
  21. animation-fill-mode: both;
  22. }
  23.  
  24. @-webkit-keyframes fadeInUp {
  25. 0% {
  26. opacity: 0;
  27. -webkit-transform: translate3d(0, 100%, 0);
  28. transform: translate3d(0, 100%, 0);
  29. }
  30.  
  31. 100% {
  32. opacity: 1;
  33. -webkit-transform: none;
  34. transform: none;
  35. }
  36. }
  37.  
  38. @keyframes fadeInUp {
  39. 0% {
  40. opacity: 0;
  41. -webkit-transform: translate3d(0, 100%, 0);
  42. transform: translate3d(0, 100%, 0);
  43. }
  44.  
  45. 100% {
  46. opacity: 1;
  47. -webkit-transform: none;
  48. transform: none;
  49. }
  50. }
  51.  
  52. .fadeInUp {
  53. -webkit-animation-name: fadeInUp;
  54. animation-name: fadeInUp;
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement