remove css :hover attribute with jquery

前端 未结 7 1021
遇见更好的自我
遇见更好的自我 2020-12-10 02:44

Lets say I have


相关标签:
7条回答
  • 2020-12-10 03:13

    We can Override CSS hover effect with the help of css and Jquery

    $('div').hover(function(){ $(this).addClass('nohover');})
    
    In CSS Add Class .nohover
    .nohover {
    pointer-events:none;
    }
    
    0 讨论(0)
提交回复
热议问题