Comments (4)
Hi i'm not currently planning on adding this as it causes weird behaviour in the current setup. I would need to re-write some parts in order to get this working decently. So for now i'm not going to add this.
from tilt.js.
Try giving a negative value to maxTilt. Works for me :-)
from tilt.js.
@nth-chile I tried that. The result is a stuttery experience if you hover over the edges.
from tilt.js.
i tried using a negative value too and it spasms on the edges as you've said.
but if you use a longer duration for speed, eg: 10000. this spasm is not noticable anymore.
from tilt.js.
Related Issues (20)
- why paralax effect not work HOT 1
- Scrolling fast problem HOT 2
- Add effect to element from mouse over page HOT 4
- Lag in chrome based browsers for duration of the value of the speed option HOT 4
- transform: translateZ(20px) only activates when hover HOT 3
- Outzooming cause issue
- Targeting consecutive nested elements for parallax effect HOT 1
- Disable on Mobile HOT 1
- Uncaught TypeError: Cannot read property 'x' of undefined HOT 20
- Does tilt work with images HOT 1
- Mouse events wrong on documentation
- Accessibility concerns?
- Glare on images/svgs?
- test
- SVG Inner Elements
- transform: translateZ(20px); is apply before hover HOT 2
- What does maxTilt option do?
- Add just a little tilt
- Tilt effect isn't working on mobile HOT 1
- I donβt see a tilt on mobile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilt.js.