列出项目在光标悬停时表现得像链接一样

moe*_*sef 1 html css listitem onhover

我有一些列表项,我希望当用户将鼠标悬停在它们上方时,光标从箭头变为手形.从某种意义上说,我希望它看起来像一个链接.我怎样才能做到这一点?

bta*_*ger 6

将光标设置为指针.

<style type="text/css">
.fakeLink{cursor:pointer}
</style>

<ul>
<li class='fakeLink'>This is not really a link</li>
</ul>
Run Code Online (Sandbox Code Playgroud)