Connect with us

Make the cursor a hand when a user hover on a list item

Suppose you have below list items and on hover you want to change the mouse pointer into a hand pointer:

<ul>
  <li>Test1</li>
  <li>Test2</li>
</ul>

you can make it by css:

li:hover{
 cursor: pointer;
}

Or by jquery:

jQuery("li").css({"cursor":"pointer"});

Your Answer

Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.

Log In

Subscribe to our newsletter

Enter your email address to subscribe to blog and receive notifications of new articles by email.
100% Privacy. No spam guaranteed