https://github.com/shwilliam/perspectives
😎 Easiest perspective simulation on mousemove and deviceorientation
https://github.com/shwilliam/perspectives
perspective
Last synced: about 1 year ago
JSON representation
😎 Easiest perspective simulation on mousemove and deviceorientation
- Host: GitHub
- URL: https://github.com/shwilliam/perspectives
- Owner: shwilliam
- License: mit
- Created: 2019-03-21T22:02:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T02:57:00.000Z (over 3 years ago)
- Last Synced: 2025-03-18T11:22:38.765Z (over 1 year ago)
- Topics: perspective
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/perspectives
- Size: 278 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perspectives


> Easily add perspective on mousemove and deviceorientation

[](https://codesandbox.io/s/1y42nkk4rl?fontsize=14)
## Getting started
Simply include `` into your HTML file and add the class 'with-perspective' to target elements' parent.
```html
I am a 3D title
```
## Contributing
This project is open to and encourages contributions! Feel free to discuss any bug fixes/features in the [issues](https://github.com/shwilliam/perspectives/issues). If you wish to work on this project:
1. [Fork the project](https://github.com/shwilliam/perspectives)
2. Create your feature branch (`git checkout -b new-feature-branch`)
3. Commit your changes (`git commit -am 'add new feature'`)
4. Push to the branch (`git push origin new-feature-branch`)
5. [Submit a pull request!](https://github.com/shwilliam/perspectives/pull/new/master)