Share CSS styles among Lightning Web Components

Share CSS in Lightning Web Components

Struggling with CSS sharing? With Summer ’20 it’s now easier to share CSS styles. To share a CSS file among different components, create a CSS-only module. A CSS-only module contains a CSS file and a metadata file. Import the module into the CSS file of any Lightning web component you want to style. You can … Read more Share CSS styles among Lightning Web Components

6,879 total views, 9 views today