ANDROMETAS

twitching effect

Jul 10th, 2021
267
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <style>
  2. @keyframes twitch {
  3. 10%, 100% {transform: rotate(-5deg);}
  4. 0% {transform: rotate(0deg);}
  5. 5% {transform: rotate(0deg);}
  6. }
  7. #div {
  8. background: white;
  9. border: 1px solid black;
  10. z-index: 99;
  11. position: relative;
  12. top: 15px;
  13. left:100px;
  14. font-size: 20px;
  15. height: 25px;
  16. width: 175px;
  17. font-weight: bold;
  18. animation: twitch 1s linear -2s infinite;
  19. }
  20. </style>
  21.  
  22. <div id="div">
  23. nintendo playstation
  24. </div>
RAW Paste Data