Hover and Active only when not disabled

后端 未结 7 2055
长情又很酷
长情又很酷 2020-12-22 21:29

I use hover, active and disabled to style Buttons.

But the problem is when the button is disabled the hover and ac

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 21:54

    .button:active:hover:not([disabled]) {
        /*your styles*/
    }
    

    You can try this..

提交回复
热议问题