Skip to Content
-1
Jan 04, 2022 at 01:36 PM

Restricting CSS coloring to one table

130 Views Last edit Jan 05, 2022 at 06:19 AM 3 rev

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-

image.png

View-

image.png

Regards

Meenakshi

Attachments

image.png (87.9 kB)
image.png (18.5 kB)