How to change the cursor into a hand when a user hovers over a list item?
Asked 07 September, 2021
Viewed 2.2K times
css
  • 52
Votes

I've got a list, and I have a click handler for its items:

<ul>
  <li>foo</li>
  <li>goo</li>
</ul>

How can I change the mouse pointer into a hand pointer (like when hovering over a button)? Right now the pointer turns into a text selection pointer when I hover over the list items.

css

24 Answer