For this blog post & video described about to Sharing the CSS Styles among the Lightning Web Components. This feature available from Summer 20 Salesforce Release [https://releasenotes.docs.salesforce.com/en-us/summer20/release-notes/rn_lwc_css_share.htm]. We can add style in Lightning Web Components using .

In Lightning Web Components, we can apply styling with 4 ways now:

* Applying Style using Inline CSS in LWC
* Applying Style using External CSS file from Static resources
* Create CSS file from LWC Component bundle level
* Summer 20 > Common CSS module (Summer 20) [https://releasenotes.docs.salesforce.com/en-us/summer20/release-notes/rn_lwc_css_share.htm]

Share CSS Styles in LWC and this applies to Lightning web components in Lightning Experience and all versions of the Salesforce app. Applying Style using Inline CSS in LWC

Inline CSS for apply a style for a individual HTML element used to apply with HTML style attribute. Likely

Please click here to read the original article as posted on TheBlogReaders.com.

We source the web to bring you best Salesforce articles for our reader’s convenience. If you want to have this article removed, please follow guidelines at Digital Millennium Copyright Act (DMCA)..

LEAVE A REPLY

Please enter your comment!
Please enter your name here