Skip to content

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

Closed

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!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    arc: customizationtype: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions