Jump to content


DropShadow code ?

Moderator Tag
Go to solution Solved by jamiejefferson,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I want to animte drop shadow by the syntax is not working;


? :geek: 


Link to comment
Share on other sites


Correct, no, I'm not seeing my red dropshadow, but I'm not getting any errors either :(

Link to comment
Share on other sites

  • Solution

The correct syntax (this is the actual CSS syntax) uses spaces not commas to separate the values.

{ boxShadow:"35px 45px 56px #FF5050" }

Commas are used for multiple shadows

{ boxShadow:"35px 45px 56px #FF5050, 1px 1px 1px #FFFFFF" }
  • Like 3
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.