Yes, this is possible in CSS. In the example below, there will usually be a red background and a green background when the line freezes.
tr td { background: #f00; }
tr:hover td { background: #0f0; }
However, it should be noted that this will not work in IE6 because it does not understand the pseudo-class of the ": hover" class for any elements other than <a>.
source
share