Activity Forums Salesforce® Discussions Why we use of THIS CSS class in lightning component?

  • Piyush

    Member
    October 11, 2019 at 2:23 am

    Hi Nikita,

    THIS CSS effectively, adds namespacing to CSS and helps prevent one component’s CSS from overriding another component’s styling. The framework throws an error if a CSS file doesn’t follow this convention.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos