Extjs 图片按钮背景根据鼠标的over和out变化

来源:互联网 发布:windows 10系统激活 编辑:程序博客网 时间:2024/05/16 16:19
在网上找了好几天,终于找到了个比较靠谱的方法,还是得得用CSS+DIV,
<pre name="code" class="html">.pixy:link, .pixy:visited{    display:block;    width: 200px;    height:40px;    color: #000;    line-height:40px;    text-decoration: none;    background: #94B8E9 url(images/pixy-rollover.gif) no-repeat left top;    text-indent: 50px;}.pixy:hover{    background-color: #369;    background-position: right top;    color:#fff;}


                                             
0 0
原创粉丝点击