Guest User

Untitled

a guest
Sep 6th, 2012
201
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2. @-webkit-keyframes x {
  3.     100% {
  4.         height: 0;
  5.  
  6.     }
  7. }
  8. div {
  9.     width: 100%;
  10. }
  11.  
  12. .inner {
  13.     height: 100%;
  14.     border: 1px solid lime;
  15.     -webkit-animation-name: x;
  16.     -webkit-animation-duration: 3s;
  17.     -webkit-animation-iteration-count: infinite;
  18. }
  19.  
  20. .outer {
  21.     border: 1px solid red;
  22.     height: 140px;
  23. }
  24.  
  25. </style>
  26.  
  27.  
  28. <div class=outer><div class=inner>
  29. </div></div>
RAW Paste Data