kyujouz

tilting text

Mar 10th, 2024
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <style>
  2. #scream {
  3. font-size: 1.5em;
  4. display: inline-block;
  5. font-family: lovely;
  6. animation-name:hi;
  7. animation-duration: 2s;
  8. animation-iteration-count: infinite;
  9. }
  10.  
  11. @keyframes hi {
  12. 0% {
  13. transform: rotate(
  14. 5deg);
  15. }
  16. 50% {
  17. transform: rotate(
  18. -5deg);
  19. }
  20. 100% {
  21. transform: rotate(
  22. 5deg);
  23. }
  24. }
  25. </style>
Advertisement
Add Comment
Please, Sign In to add comment