Activity › Forums › Salesforce® Discussions › Why we use of THIS CSS class in lightning component? Salesforce® Discussions Why we use of THIS CSS class in lightning component? Posted by Nikita on October 10, 2019 at 2:05 PM Why we use of THIS CSS class in lightning component? Piyush replied 6 years, 7 months ago 2 Members · 1 Reply 1 Reply 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me