Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support animating boxShadowColor and textShadowColor #263

Closed
refactornator opened this issue Aug 23, 2014 · 5 comments
Closed

Support animating boxShadowColor and textShadowColor #263

refactornator opened this issue Aug 23, 2014 · 5 comments

Comments

@refactornator
Copy link

Nothing happens when you try to animate boxShadowColor like this:

$(".container").velocity({ 
  boxShadowColor: "red"
}, 2000);

http://codepen.io/wlindner/pen/mHgpu

@julianshapiro
Copy link
Owner

Thanks, William! Indeed, this is not yet a supported feature. (Same goes for textShadowColor.)

Would likely be fairly involved to get this working. I will revisit this thread and look deeper into this in the future when I find myself needing this feature. (Best way to motivate myself to rewrite the CSS parsing logic!)

@julianshapiro julianshapiro changed the title Support animating boxShadowColor Support animating boxShadowColor and textShadowColor Aug 24, 2014
@sthzg
Copy link

sthzg commented Sep 29, 2014

+1

@Rycochet
Copy link
Collaborator

Both box-shadow and text-shadow support comma separated lists of shadows, so animating them is far more of a job for a custom piece of code than anything else (similarly for gradient backgrounds etc).

@julianshapiro
Copy link
Owner

That's a good point, although it wouldn't be a stretch to just expand support for one value. Having said this, it is enough of a tall task that I'm not particularly interested/motivated to do it atm.

@giovannipds
Copy link

Any news about this? +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants