Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable mouse pointer text selector when hovering above text

Every time you hover over text the mouse turns in to this text selector that pops up instead of the mouse icon, How do i disable this in CSS/JS/HTML when hovering over specific paragraphs containing the same class? Could this be done in CSS? for example i dont want to have a hover option over this:

<p class="class">Dont hover over me</p>
like image 806
Bodokh Avatar asked Mar 26 '26 17:03

Bodokh


1 Answers

You can use cursor property:

p.class {
    cursor: default;
}
like image 129
Felix Avatar answered Mar 29 '26 06:03

Felix