I want to have a css class with a hover effect. I googled and found this:
table{
border: 3px solid black;
}
td:hover {background-color: yellow}
However, this gives me the hover-effect for all tables. And I want to have this effect for selected tables only. Somehow like this:
table{
border: 3px solid black;
}
.hovereffect {
td:hover {background-color: yellow}
}
But this doesn't work. Does anyone know how to do it?