Home  >  Article  >  Web Front-end  >  鼠标经过li元素鼠标变成小手代码实例_html/css_WEB-ITnose

鼠标经过li元素鼠标变成小手代码实例_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:27:274254browse

鼠标经过li元素鼠标变成小手代码实例:
默认情况下,当鼠标划过链接元素的时候,鼠标指针能够变成小手形状。
但是对于普通的元素则不行,下面就通过代码实例介绍一下如何实现鼠标划过li元素,鼠标指针变小手。
代码实例如下:

蚂蚁部落 
  • 蚂蚁部落欢迎您,只有努力奋斗才会有美好的未来
  • 没有任何人一开始就是高手,必须要好好学习
  • 本站的url地址是softwhy.com
  • 每一天都是新的,所以要好好真心当前时间
  • div css教程里面有大量详实的代码

上面的代码实现了我们的要求,使用如下代码即可实现我们的要求:

cursor:pointer;

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=18130

更多内容可以参阅:http://www.softwhy.com/divcss/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn