Why doesn't CSS hover work on table rows when the cells inside the rows have class names?

前端 未结 6 1914
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-04 02:13

I am stuck with this problem so any help would be appreciated. I have a table with several rows. Each cell within the row belongs to a certain class. I use these class names to

6条回答
  •  别跟我提以往
    2021-02-04 02:42

    This does not happen for me. Make sure that you're only adding/removing class names when checking if they have an impact, and make sure that the tds don't have their own background covering up that of the tr.

提交回复
热议问题