whizzbbig Posted November 17, 2021 Share Posted November 17, 2021 I've been trying to make my preloader move from middle not from bottom right corner and i not able to provide the codepen coz its a pretty huge project and preloade is been working from backend here's a code and video this.elements.titleSpans are the text in 3 lines this.elements.numberText is the number at the bottom of the page this.element is the preloader itself https://imgur.com/a/7GiM5HL Link to comment Share on other sites More sharing options...
OSUblake Posted November 17, 2021 Share Posted November 17, 2021 If you need help, please provide a minimal demo. We can't tell what's supposed to be happening from that code snippet as there is CSS, HTML, and a bunch of other factors that go into an animation. We don't need to see your entire project, nor any code related to preloading like a promise. Just a simple demo that shows the issue. Link to comment Share on other sites More sharing options...
Solution whizzbbig Posted November 21, 2021 Author Solution Share Posted November 21, 2021 On 11/17/2021 at 4:01 PM, OSUblake said: If you need help, please provide a minimal demo. We can't tell what's supposed to be happening from that code snippet as there is CSS, HTML, and a bunch of other factors that go into an animation. We don't need to see your entire project, nor any code related to preloading like a promise. Just a simple demo that shows the issue. There's a typo I not add Y after scale here { duration: 1.5, ease: 'expo.out', scaleY: 0, transformOrigin: '100% 100%', }, so by adding that fix the problem 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now