Jump to content
Search Community

Mouse In & OUT + SplitText & top left vs transform

TerraHQ test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hey There!
I've got a few questions:
1 - Custom cursor should work with "top/left" or with transformX/TransformY ? ( performance) - Reference this article - would love some tips on how to proceed with it.
2 - How could I have some kind of animation using split text when I enter to the card on hover - Reference

See the Pen DBGYXK by GreenSock (@GreenSock) on CodePen



Thanks!

See the Pen PoaOaxo by andresclua (@andresclua) on CodePen

Link to comment
Share on other sites

  • Solution

Yep, definitely use x/y rather than top/left. Cheaper for the browser, plus transforms can do sub-pixel rendering. 

 

Your demo appears to only use CSS transitions and no GSAP at all. You can certainly use GSAP and SplitText. If you have a specific GSAP-related question, we're happy to help with that. We don't have the resources to provide free "made-to-order" solutions, but hopefully it's pretty straightforward to build out with GSAP. 

 

Have fun!

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...