How to change the cursor when hovering a Listitem

To change the cursor when hovering a listitem you should use CSS3.

Sample List

<ul>
  <li>listitem1</li>
  <li>listitem2</li>
  <li>listitem3</li>
  <li>listitem4</li>
  <li>listitem5</li>
  <li>listitem6</li>
</ul>

Sample CSS

li { cursor: pointer; }

see also CSS cursor Property at W3Schools

Please Share us:
Please rate this snippet

One thought on “How to change the cursor when hovering a Listitem

Leave a Reply