2

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>
1
  • 1
    Just a guess: p:hover { cursor: default } Commented Feb 13, 2014 at 16:23

4 Answers 4

8

You can use cursor property:

p.class {
    cursor: default;
}
Sign up to request clarification or add additional context in comments.

Comments

2

You can do it like this:

.class:hover{
   cursor:default;
}

Comments

0

Yes, you can set the CSS cursor property:

p.class {
     cursor: default;
}

to disable the text style.

Comments

0

Use

cursor: default;

In your CSS. Look up the documentation here: http://www.w3schools.com/cssref/pr_class_cursor.asp

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.