+ Start a Discussion
Linga_RaminLinga_Ramin 

How to Flip in SLDS Lightning.In my table I want to show black color for one row.It's getting black but when I hover on it it's flipping showing Grey color.How can I stop that.Can anyone helpe me?

Khan AnasKhan Anas (Salesforce Developers) 
HI,

Greetings to you!

You can use below CSS. You need to use the correct class.
.THIS .data-row:hover {
 background-color:#0d0e12;
 color:white;
 cursor:pointer;
}

.THIS .data-row.selectedRow{
  background-color:#0d0e12;
  color:white;
 }

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