Guest User

z-text

a guest
Jun 4th, 2026
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <style>
  2. .z-layer:not(:first-child) {
  3. /*this is where you customize the color of the shadow which appears after hovering*/
  4. color: #bacedc;
  5. }
  6. .z-layer {
  7. /*this is where you customize basically anything else regarding the text*/
  8. font-size: 6em;
  9. filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 2px 0 black) drop-shadow(0 -1px 0 black);
  10. color: white;
  11. }
  12. </style>
  13.  
  14. <script src="https://bennettfeely.com/ztext/js/ztext.min.js"></script>
  15.  
  16. <span class="hero-text">neato!</span>
  17. <!--for the options below, you can look at the creator's website at https://bennettfeely.com/ztext/ for an explanation as to what these do and how to change the values to fit your needs. have fun with it!-->
  18. <script>
  19. var ztxt = new Ztextify(".hero-text", {
  20. depth: "40px",
  21. fade: true,
  22. layers: 25,
  23. direction: "both",
  24. event: "pointer",
  25. eventRotation: "35deg",
  26. eventDirection: "default"
  27. });
  28. </script>
Advertisement
Add Comment
Please, Sign In to add comment