Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
benjino

Draw Stroke, Then Fill

Recommended Posts

Thanks for the demo. The main problem is that setting the opacity of the group to 0 also hides the paths you are trying to reveal with DrawSVG.

Instead of animating the opacity of the group, try animating the fill of the paths.

 

I removed the repeats and simplified the syntax just to illustrate how to animate the fills.

 

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

 

  • Like 3
Link to comment
Share on other sites

Alright, thanks. I see what I wasn't getting. I did try {fill:none},{fill:black}. I forgot to put quotes around values.

 

Thanks for clueing me in on this!

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