Tiltado is a small plugin to make a div tilt based on the mouse movement. This is just a way to keep my Javascript knowledge fresh
Just import the script in the dist
folder and add data-tiltado
at everything you want to tilt
<div data-tiltado>
<h1>I'm tilted</h1>
</div>
- Use JSDoc for better DX
- Migrate it to Typescript for an even better DX
- Find a better way to write some of the functions with SOLID patterns
- Create tags and things related to the release of this project (usando canhão pra matar barata)
- Create a build process with GitHub Actions