How to swap css attributes

In Swapping CSS attributes, they are alternatives you can use to achieve this,But all the same you will have to follow the procedures to be able to achieve this. Below is a summary or Demo of swapping CSS attributes which you can follow:

<body class="homePage">

for other pages, other classes. You then target these pages on a per page basis like this:

.homePage tr:hover {background: pink;}
.aboutPage tr:hover {background: red;} 

Alternatively you can simply ID the table:

<table id="table1">

and then target just that table:

#table1 tr:hover {background: pink}

…but I recommend the body tags as a good way to work in general.