Advertisement
izuemis

hyein crd positioning + ani codes

Sep 7th, 2022
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. -- POSITIONING W ANIMATIONS --
  2.  
  3. <style>
  4.  
  5. #container02, #container03, #container04 {
  6. z-index: 999;
  7. position: absolute;
  8. left: 3em;
  9. top: 4.5em;
  10. animation-name: floating;
  11. animation-duration: 3s;
  12. animation-iteration-count: infinite;
  13. animation-timing-function: ease-in-out;
  14. }
  15.  
  16. @keyframes floating {
  17. 0% { transform: translate(0, 0px); }
  18. 50% { transform: translate(0, 15px); }
  19. 100% { transform: translate(0, -0px); }
  20. }
  21.  
  22. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement