css remove hover if disabled code example
Example 1: css hover to disable
.noHover{
pointer-events: none;
}
Example 2: css disabled hover none
button:hover:enabled{
/*your styles*/
}
button:active:enabled{
/*your styles*/
}
.noHover{
pointer-events: none;
}
button:hover:enabled{
/*your styles*/
}
button:active:enabled{
/*your styles*/
}