cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting CSS coloring to one table

meenakshi_raina
Advisor
Advisor
0 Kudos

Hello,

I have created multiple tables in my application. For one specific table, I want to use CSS. If I write as below, then my css is being applied to all tables within my application-

tr[data-mydata="PTS"]{ background: #ff3333!important;}

How can I restrict it to a single table? I have tried the following combinations, but it doesn't work.

CSS-

View-

Regards

Meenakshi

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

why not learn some basic css selector?

it has nothing to do with ui5 or sap