Jump to content
GreenSock

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

DropShadow code ?

Recommended Posts

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

{box-shadow:10px,10px,5px,"#888888"}); 

? :geek: 

 

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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