You need to sign in to do that
Don't have an account?
Ram Shiva Kumar
Styles for Aura component in lightening
Hi i want to get the css styles from VF page to aura component ..but iam unable to get the styles same as in vf page (ex:back ground color, width,margin)
below is my vf page css style:
<div style="background-color: lightgrey; margin-left: 100px; margin-right:100px; border: 2px solid black;">
<br/>
<h1 style="color: red; margin-left: 100px; font-size:15px;">hi how are u
</h1>
<br></br><br></br>
<div style="background-color: white; margin-left: 100px; margin-right:100px; border: 1px solid black;">
<br></br>
<table>
<tr>
</tr>
Please suggest me how can i implemnet the same styles in AURA component with slds ......
Regards,
Ram.
below is my vf page css style:
<div style="background-color: lightgrey; margin-left: 100px; margin-right:100px; border: 2px solid black;">
<br/>
<h1 style="color: red; margin-left: 100px; font-size:15px;">hi how are u
</h1>
<br></br><br></br>
<div style="background-color: white; margin-left: 100px; margin-right:100px; border: 1px solid black;">
<br></br>
<table>
<tr>
</tr>
Please suggest me how can i implemnet the same styles in AURA component with slds ......
Regards,
Ram.
- CSS in Components please check the below link for reference.
- https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_css.htm
Hope it helpsPlease mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar