How to use THIS operator in Style in Salesforce Lightning Component?

How to use THIS operator in Style in Salesforce Lightning Component?

Sample Code:


Component:


<aura:component >
<H1>Testing Head Tag </H1>
</aura:component>

Style:


.THIS {    
}
H1.THIS {
font-size:18px;
}

Cheers!!!

Leave a Reply