Package Exports
- perspectives
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (perspectives) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Perspectives
Easily add perspective on mousemove and deviceorientation
Getting started
Simply include <script src="https://unpkg.com/perspectives"></script>
into your HTML file and add the class 'with-perspective' to target elements' parent.
<html>
<body>
<div class="with-perspective">
<h1>I am a 3D title</h1>
</div>
<script
src="https://unpkg.com/perspectives"
></script>
</body>
</html>
Contributing
This project is open to and encourages contributions! Feel free to discuss any bug fixes/features in the issues. If you wish to work on this project:
- Fork the project
- Create your feature branch (
git checkout -b new-feature-branch
) - Commit your changes (
git commit -am 'add new feature'
) - Push to the branch (
git push origin new-feature-branch
) - Submit a pull request!