Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

jehon/css-inherit

Repository files navigation

@jehon/css-inherit

Test

When using web components without a framework, I get the problem that the styles from the host are not copied into the shadow of the component. That's per design.

Using this tag allow styles from host to be imported into the shadow root of your component

Usage

   this.shadowRoot.innerHTML += '<jehon-css-inherit></jehon-css-inherit>

Parameters

parameter explanation
jehon-css-inherit-local exclude that style tag from import

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published