Advertisement
teenagegoths

bouncy text

Sep 5th, 2021 (edited)
3,956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.12 KB | None | 0 0
  1. <Style>.bouncyyy { font-size:4em; z-index: 99; animation: bounce 2s infinite; animation-timing-function: cubic-bezier(0.25, 0.85, 0.4, 1) width:auto; ;}
  2.  
  3. .letterone { animation-delay:0s; display:inline-block;}
  4. .lettertwo { animation-delay:0.2s; display:inline-block;}
  5. .letterthree { animation-delay:0.4s; display:inline-block; }
  6. .letterfour { animation-delay:0.6s; display:inline-block;}
  7. .letterfive { animation-delay:0.8s; display:inline-block;}
  8. .lettersix { animation-delay:1s; display:inline-block;}
  9. .letterseven { animation-delay:1.2s; display:inline-block;}
  10.  
  11. @keyframes bounce { 0% { transform: scale(1,1) translateY(0); } 10% { transform: scale(1.1,.9) translateY(0); } 30% { transform: scale(.9,1.1) translateY(-30px); } 50% { transform: scale(1.05,.95) translateY(0); } 60% { transform: scale(1,1) translateY(-4px); } 100% { transform: scale(1,1) translateY(0); } }</style>
  12.  
  13. <p class="bouncyyy letterone">A</p><p class="bouncyyy lettertwo">L</p><p class="bouncyyy letterthree">L</p><p class="bouncyyy letterfour">I</p><p class="bouncyyy letterfive">S</p><p class="bouncyyy lettersix">O</p><p class="bouncyyy letterseven">N</p>
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement