UNPKG

@yoannchb/cattract

Version:

Animate anything just like it was attracted by the cursor

42 lines (41 loc) 1.5 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title> Cattract — Animate anything just like it was attracted by the cursor </title> <link rel="icon" type="image/png" href="icon.png" /> <link rel="stylesheet" href="https://highlightjs.org/static/demo/styles/atom-one-dark-reasonable.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <script src="../dist/index.js"></script> <script src="script.js" defer></script> <link rel="stylesheet" href="style.css" /> </head> <body> <section class="main-section"> <article class="presentation"> <h1 class="title">Cattract</h1> <p>Animate anything just like it was attracted by the cursor on pc !</p> <a class="github-btn-link" target="_blank" href="https://github.com/yoannchb-pro/cattract" >Discover more on github</a > </article> <section class="examples"></section> </section> </body> </html>