Jump to content
Search Community

amirTrujillo

Premium
  • Posts

    6
  • Joined

  • Last visited

Posts posted by amirTrujillo

  1. 1 hour ago, Cassie said:

    If you needed the cursor above the text in some other places you could have two cursors following the mouse, one position fixed *above* the content and one behind and then opacity toggle as and when you need

    Thanks for the answer. I thought about using two cursors but hoped for an easier way. As for the math, it's possible, but I'm concerned it might take up too much processing power just for a cursor (the site is heavy as it is).

  2. 37 minutes ago, mvaneijgen said:

    Hi @amirTrujillo welcome the to club (Greensock) 🎉

     

    What is exactly the issue? I see a dot that forms to the button shape when hovering. I've tested all buttons and tested on both Safari 16.3 and Chrome 112.0.5615.137 and it's working to me. 

     

    Do you maybe have a browser version and OS on which you've the problem and maybe a screenshot of what it should look like vs what it looks like now? 

    Thanks!

     

    I have tested both Bing and Chrome, and everything works perfectly except for the button's text that appears beneath the cursor. The cursor has a slight opacity that allows you to see the text, but I want it to appear in front of the cursor. I created another pen without smoothscroll to show how I wanted it to appear.


    See the Pen qBJqwWe by amir-trujillo (@amir-trujillo) on CodePen

  3. Hello, 

    I'm currently working on a site with lots of heavy Lottie animation, I'm using THIS  linkup between ScrollTrigger and Lottie and it works perfectly. 

    my only problem is that I want to create the Lottie DOM element only when visible in Viewport. I created this pen and as you can see on every progress update the animation start from the beginning and catches up. 

    any advice?

     

    Thanks in advance!

    See the Pen yLjeQLV by amir-trujillo (@amir-trujillo) on CodePen

×
×
  • Create New...