List items to behave like links when cursor hovers
问题 I have some list items where I want the cursor to change from an arrow to a hand when a user hovers over them. In a sense I want it to look like a link. How can I do this? 回答1: Set the cursor to a pointer. <style type="text/css"> .fakeLink{cursor:pointer} </style> <ul> <li class='fakeLink'>This is not really a link</li> </ul> 来源: https://stackoverflow.com/questions/9495578/list-items-to-behave-like-links-when-cursor-hovers