Advertisement
n3ito

[code] pop image

May 21st, 2022
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None
  1. <style>
  2.  
  3.  
  4. #whitespace {
  5. display: inline-block;
  6.  
  7. width:100%;
  8. height:auto;
  9. animation: pop 1s ease-in-out infinite alternate;
  10. border: 3px double black;
  11. overflow: hidden;
  12. }
  13. #whitespace img {
  14. display: block;
  15. width:100%;
  16. height:auto;
  17.  
  18. }
  19.  
  20. @keyframes
  21. pop {
  22. from { transform:scale(0.95) }
  23. 50% { transform:scale(1) }
  24. to { transform:scale(0.95) }
  25. }
  26.  
  27. </style>
  28.  
  29. <div id="whitespace"><img src="imgurl"></div>
Advertisement
RAW Paste Data Copied
Advertisement