div background color, to change onhover

后端 未结 10 1321
轮回少年
轮回少年 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:34

    Using Javascript

       
    Jack and Jill went up the hill To fetch a pail of water. Jack fell down and broke his crown, And Jill came tumbling after.

提交回复
热议问题