briangonzalez / jquery.adaptive-backgrounds.js

🦎 A jQuery plugin for extracting the dominant color from images and applying the color to their parent.
http://briangonzalez.github.io/jquery.adaptive-backgrounds.js/
6.53k stars 454 forks source link

hello,how to use animate and opacity~? #53

Closed LeXwDeX closed 7 years ago

LeXwDeX commented 8 years ago

I want use animate and opactiy on backgroundcolor

how can I use it with jquery.adaptive-backgrounds.js

AlfredJKwack commented 7 years ago

Hi Susan,

The latest pull request #70 added a transparent color feature.

With regards to animation, I think it would be helpful to understand more thoroughly what your intent is. Perhaps a codePen to illustrate what you mean could help.

Assuming you want to change the value of a css keyframe based on AD this could be rather tricky. There is an old StackOverflow post on the topic which outlines what would be involved. That would definitely goes beyond the scope of this library.