Jump to content
sjerrentrup

SplitText, Opacity Problem, init()

Recommended Posts

Hello,

 

I'm working with SplitText and can't seem to get the opacity to work.  I have it set to 0 in the CSS and then tween it to 1 in the code but it doesn't work.  Any idea why?  Also, I can't get the animation running on codepen like I can on my PC.  Maybe I'm missing a file or something, but it isn't tweening.

 

Thanks,

 

-Stefan

See the Pen QbZMBy by hyperbola (@hyperbola) on CodePen

Share this post


Link to post
Share on other sites

Looks like you are trying to use jQuery without loading it. In your CSS you are setting the opacity of the main div to 0, when it should be the individual divs that the splitTextPlugin creates. 

 

See the Pen bdmobE by osublake (@osublake) on CodePen

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.