How do I change the hover over color for a hover over table in Bootstrap?

前端 未结 11 1906
情歌与酒
情歌与酒 2021-01-30 02:58

I have a table with class \'table-hover\'. The default hover over color is a white / light grey. How do I change this color?

I\'ve tried overwriting the default by ad

11条回答
  •  无人及你
    2021-01-30 03:15

    This was the most simple way to do it imo and it worked for me.

    .table-hover tbody tr:hover td {
        background: aqua;
    }
    

    Not sure why you would want to change the heading color to the same hover color as the rows but if you do then you can use the above solutions. If you just want t

提交回复
热议问题