Glitch effect style
npm install --save glitch.css
Include the stylesheet:
<head>
<link rel="stylesheet" href="glitch.css">
</head>
Add the class glitch
to the element. You may also want to include the class infinite
for an infinite loop.
Example:
<h1 class="glitch infinite fast gbr">Glitch</h1>
- slow
- fast
- gleft
- gright
- gbr
- gbr-left
- gbr-right
- infinite