web-anim-js
web-anim-js copied to clipboard
Animatable proprieties
Hi, I am trying to create a simple background-color animation:
new Animation(document.querySelector(".doorSpacer"), { 'background-color': [ 'rgb(0,0,0)', 'rgb(255,255,255)' ] }, 2);
and it does not work.
Looked trough the web-anmation.js and noticed that only few props like transforms are supported. Will this be the case on the actual browser implementation or just the case for this shim?
Thank you.
Edit. I think that I should of posted this to https://github.com/web-animations/web-animations-js