css hover to disable

48

.noHover{
    pointer-events: none;
}
button:hover:enabled{
    /*your styles*/
}
button:active:enabled{
    /*your styles*/
}
<a href='' class='btn noHover'>You cant touch ME :P</a>

Comments

Submit
0 Comments