You need to sign in to do that
Don't have an account?
anil bolisetty 11
Adding colour to border using slds-box
Hello,
I am using slds-box to create borders,but thay are always white in colour is there any way i can change the colour
<div class="slds-box"> <p>This is a regular-sized box.</p> </div>
I am using slds-box to create borders,but thay are always white in colour is there any way i can change the colour
<div class="slds-box"> <p>This is a regular-sized box.</p> </div>
Greetings to you!
Please try below CSS:
CSS:
Component:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
All Answers
Greetings to you!
Please try below CSS:
CSS:
Component:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
Please follow given below code with the help of below code you can solve your problem, it may be helpful to you.
Component :
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
The CSS for your component can be like this :
.THIS {
}
.THIS.slds-box {
border: 5px solid grey;
}
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi