更改鼠标移动时的按钮颜色? [英] Change button color on mouse moving?

查看:141
本文介绍了更改鼠标移动时的按钮颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net中创建项目.我想在将鼠标指针移向按钮时更改按钮的颜色.我该怎么做?

I create project in asp.net.I want to change the color of button when moving mouse pointer towards the button.How can I do it?

推荐答案

试试这个:-
try this:-
<input type="submit" onmouseover="this.style.background=''red''" />


这篇关于更改鼠标移动时的按钮颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆