HTML问题 鼠标经过按钮 改变按钮背景色与字体颜色

2025-04-14 04:32:58
推荐回答(1个)
回答1:

试试:

onMouseOver = function(){
    this.style.backgroundColor = '#b79855';
    this.style.color = 'red';
}