div background color, to change onhover

后端 未结 10 1284
轮回少年
轮回少年 2020-11-27 04:54

I\'m trying to make a div\'s background color change on mouse over.

the div {background:white;}
the div a:hover{background:grey

10条回答
  •  遥遥无期
    2020-11-27 05:18

    simply try "hover" property of CSS. eg:

    
    
        
    
    
                
                          

    hello there

    i hope this will help

提交回复
热议问题