Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 508 Bytes

File metadata and controls

21 lines (16 loc) · 508 Bytes

glitch.js

Add glitch text to your webpage!!!

Example GIF

How to use

  1. Add glitch.js to your webpage
<script src="glitch.js"></script>
  1. Add class glitch-n where n is a positive integer indicating the level of glitchiness:
<span class="glitch-1">Subtle glitch</span>
<span class="glitch-2">Moderate glitch</span>
<span class="glitch-3">Intense glitch</span>
<span class="glitch-4">Extreme glitch</span>
<span class="glitch-5">It goes on and on</span>