Jump to content
Search Community

Preloader isn't transitioning the way it has to be ( it has to go from middle )

whizzbbig test
Moderator Tag

Go to solution Solved by whizzbbig,

Recommended Posts

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

code.thumb.png.4565ec10cf418ba9658cf4a671e1ef19.png

 

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

  • Solution
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 :)
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...