Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (47.6k points)

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.

1 Answer

0 votes
by (106k points)

If you want to make the cursor a hand when a user hovers over a list item you can use the below-mentioned way:

li{

cursor: pointer; 

}

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Sep 4, 2019 in Web Technology by Tech4ever (20.3k points)

Browse Categories

...