🔸light DOM

browserweb componentsimplementshadow DOM ⟩ light DOM

  • elements in shadow DOM will inherit font size, background color, ... from the light DOM.

  • styles in shadow DOM can use variables defined in light DOM.

Last updated

Was this helpful?