为了账号安全,请及时绑定邮箱和手机立即绑定

求问一下,css 属性设置input 中type为button 的属性

求问一下,css 属性设置input 中type为button 的属性

偶然的你 2021-01-13 15:11:42
我的意思是对 type="button" 进行CSS设置,class 和 id 有其他地方的用处
查看完整描述

3 回答

?
慕哥9229398

TA贡献1877条经验 获得超6个赞

<style>
.input_out{width:60px;height:30px;border:1pxsolid#CCC;background-color:#FFF;}
.input_move{width:60px;height:30px;border:1pxsolid#CCC;background-color:#FFFFCC;}
</style><inputtype="button"class="input_out"onmousemove="this.className='input_move'"onmouseout="this.className='input_out'"value="提交"/>
因该是这个意思吧

查看完整回答
反对 回复 2021-03-17
  • 3 回答
  • 0 关注
  • 593 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信