[HINT] Remove hover effect in background-coloured cells
-
I wanted to have some background-colour in some cells, so I wrote a CSS definition
.my-table-cellpaint { background-color: #d9d9d9; }
Now I don’t know, what caused a hover effect, but when I hovered mouse over such cell, the background became white (= the background colour of the body) again. I have no action associated with the hover, so this was just visually annoying.
The remedy was to add a row into the CSS
.my-table-cellpaint { background-color: #d9d9d9; pointer-events: none; }
- The topic ‘[HINT] Remove hover effect in background-coloured cells’ is closed to new replies.