button的hover-class属性不生效解决方案
这样写完是不生效的
<button hover-class='button-hover'>1</button>
.btnGroup button{
background-color: #FE952C;;
color:#fff;
}
.button-hover
{
background-color: #fffff;
}
生效的写法:
<button type="myType" hover-class='button-hover'>1</button>
.btnGroup button{
background-color: #FE952C;;
color:#fff;
}
.button-hover[type = myType]
{
background-color: #ffffff;
}