Advertisement
neosanctuary

text expand on hover

Jan 14th, 2022
2,509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.39 KB | None | 0 0
  1. <style>
  2. @font-face {
  3. font-family: porkys;
  4. src: url(https://dl.dropbox.com/s/w27c0suxh1i3q8s/PORKYS_.TTF);
  5. }
  6.  
  7. #textlol {
  8. font-family: porkys;
  9. font-size: 40px;
  10. text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0, 1px 0 #000;
  11. color: white;
  12. text-decoration: none;
  13. transition: 0.4s;
  14. }
  15.  
  16. #textlol:hover {
  17. letter-spacing: 5px;
  18. }
  19. </style>
  20.  
  21. <div id="textlol">text lol</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement