1.0.0 • Published 5 years ago
infinity-background v1.0.0
Infinity Background
Interactive background that fallows the mouse movement
Getting started
$ npm install infinity-background
add infinity-background.js into your page
<script src="infinity-background.js" type="text/javascript"></script>
Example
<section style="background-image: url('background.jpg')" class="goonca-infinity-background">
<div>
<!-- content here -->
</div>
</section>
Make sure your content is wrapped in a container
1.0.0
5 years ago