Jump to content
Search Community

Sub X

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Sub X

  1. 31 minutes ago, Lichay said:

    Hey I have a small question I use that but I am using CSS global variable

    :host

    but after I use your solution I need to change to 

    :root

    and it wrong way to change it inside component.

    Do you have another solution?

     

    Thanks anyway for first way :-)

     

     

    If you are using css variables I think you should always use it on the root style.css
    or make a variable.css file and import it on you component css
    this will fix your problem I think.
     

  2. Hey guys
    So i am making a project with gsap3 kind of like the apple airpod website
    I have like 500 + images and on scroll these images are being rendered in the canvas.
    I want to animate some text which will depend on the frame count
    the sequence is -
    frame ==0 animate in some text
    frame>0 animate out the previous text
    frame>10 again animate in some text 
    frame>200 animate out the previous text 
    so it goes...

    can some one tell me how can i do this in a efficient way.

    Thanks 

×
×
  • Create New...