Skip to content

Make it possible to set background color with CSS custom property #492

@cdata

Description

@cdata

As of #487 we will support a few new CSS custom properties so that authors can style <model-viewer> controls with CSS. Initially, we wanted to add --background-color as well, but it's a bit complicated because the background color isn't actually configured with CSS (it's done in WebGL).

We should do the work to support configuring the color with a CSS property, though!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions