Skip to content

Animatable proprieties #28

Description

@mirceapiturca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions