Advertisement
naocrrds

bounce text

Dec 30th, 2024
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. <style>
  2. .lebounce mark {
  3. font-size: 4em;
  4. z-index: 99;
  5. animation: bounce 2s infinite;
  6. animation-timing-function: cubic-bezier(0.25, 0.85, 0.4, 1) width:auto;
  7. background: none;
  8. }
  9.  
  10. .lebounce mark:nth-child(1) {
  11. animation-delay: 0s;
  12. display: inline-block;
  13. }
  14.  
  15. .lebounce mark:nth-child(2) {
  16. animation-delay: 0.2s;
  17. display: inline-block;
  18. }
  19.  
  20. .lebounce mark:nth-child(3) {
  21. animation-delay: 0.4s;
  22. display: inline-block;
  23. }
  24.  
  25. .lebounce mark:nth-child(4) {
  26. animation-delay: 0.6s;
  27. display: inline-block;
  28. }
  29.  
  30. .lebounce mark:nth-child(5) {
  31. animation-delay: 0.8s;
  32. display: inline-block;
  33. }
  34.  
  35. .lebounce mark:nth-child(6) {
  36. animation-delay: 1s;
  37. display: inline-block;
  38. }
  39.  
  40. .lebounce mark:nth-child(7) {
  41. animation-delay: 1.2s;
  42. display: inline-block;
  43. }
  44.  
  45. .lebounce mark:nth-child(8) {
  46. animation-delay: 1.4s;
  47. display: inline-block;
  48. }
  49.  
  50. .lebounce mark:nth-child(9) {
  51. animation-delay: 1.6s;
  52. display: inline-block;
  53. }
  54.  
  55. .lebounce mark:nth-child(10) {
  56. animation-delay: 1.8s;
  57. display: inline-block;
  58. }
  59.  
  60. @keyframes bounce {
  61. 0% {
  62. transform: scale(1, 1) translateY(0);
  63. }
  64.  
  65. 10% {
  66. transform: scale(1.1, .9) translateY(0);
  67. }
  68.  
  69. 30% {
  70. transform: scale(.9, 1.1) translateY(-30px);
  71. }
  72.  
  73. 50% {
  74. transform: scale(1.05, .95) translateY(0);
  75. }
  76.  
  77. 60% {
  78. transform: scale(1, 1) translateY(-4px);
  79. }
  80.  
  81. 100% {
  82. transform: scale(1, 1) translateY(0);
  83. }
  84. }
  85. </style>
  86.  
  87. <div class="lebounce"><mark>I</mark><mark>n</mark><mark>s</mark><mark>e</mark><mark>r</mark><mark>t</mark> <mark>h</mark><mark>e</mark><mark>r</mark><mark>e</mark></div>
  88. <div style="font-size: 1.5em;">
  89. To insert into Carrd: copy and paste all the styles into an embed, nothing outside of it. If you have pro plus, give the text you want to have bouncy letters the "lebounce" class. If you have pro standard, change ".lebounce" to "#text01" or whatever the ID of your text is. To then put the code into action, highlight each individual letter using Carrd's markdown rules (==l====i====k=====e== ==t====h====i====s==). Voila.
  90. As for creds...<br>
  91. CYBERPINKED FOR THE BASE CODE. ALLISON OF MCYT.CRD.CO. Then also li'l old me, Jake @carrduser, only if you repost to your resource Carrd because I optimized it for Carrd. THANKS!!!!!!! Muchas gracias.
  92. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement