|File Size:||20 KB|
|Official Website:||Go to website|
follow-cursor is a tiny jQuery plugin which makes use of CSS3 transforms to rotate an element to follow the cursor position. Licensed under the Apache License Version 2.0.
How to use it:
1. Load the latest version of jQuery library and jQuery follow-cursor plugin at the end of your html file.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="follow-cursor.js"></script>
2. Just call the
followCursor function on the desired element and we're done.
3. That's it. Note that the plugin works on modern browsers which have CSS3 2D/3D transforms supported.
- JS update