html中鼠標(biāo)放上去怎么可以變色?
查找更多代碼,.borderColor之類的前面一定要有style,因?yàn)槭歉淖冃袃?nèi)樣式,如果是classname就不用,如onMouseOut="this.style.background='url(image/login_2.jpg)'" ,一定要'url()',不然出錯(cuò)。
html中鼠標(biāo)放上去怎么可以變色?
查找更多代碼,.borderColor之類的前面一定要有style,因?yàn)槭歉淖冃袃?nèi)樣式,如果是classname就不用,如onMouseOut="this.style.background='url(image/login_2.jpg)'" ,一定要'url()',不然出錯(cuò)。