css实现鼠标悬停,光标出现小手
2018-02-16 19:21
656 查看
用css 添加手状样式,鼠标移上去变小手,变小手cursor:pointer;
用JS使鼠标变小手onmouseover(鼠标越过的时候)
用JS使鼠标变小手onmouseover(鼠标越过的时候)
onmouseover="this.style.cursor='hand'"
cursor其他取值 auto :标准光标 default :标准箭头 pointer, hand :手形光标 wait :等待光标 text :I形光标 vertical-text :水平I形光标 no-drop :不可拖动光标 not-allowed :无效光标 help :帮助光标 all-scroll :三角方向标 move :移动标 crosshair :十字标 e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
相关文章推荐
- css简单实现热点链接当鼠标悬停时出现白色的框
- 用css实现的鼠标悬停效果
- 纯CSS实现鼠标悬停提示的方法
- JavaScript+Css实现的鼠标悬停时动态翻滚的紫色菜单导航
- 教您用CSS的鼠标手势实现任意标签鼠标划过变成小手
- 【Html/CSS】CSS鼠标悬停特效实现 仿微信网页版
- css动画效果:实现鼠标移入菜单栏文字下出现下划线
- CSS实现鼠标悬停经过图片由中心点逐渐放大效果
- 可以兼容ie6的纯CSS三级鼠标悬停显示/隐藏菜单实现
- 使用CSS实现鼠标悬停在一行上,显示某些元素
- css实现鼠标悬停时滑出层
- 教您用CSS的鼠标手势实现任意标签鼠标划过变成小手
- CSS鼠标悬停菜单 图片交换技术实现
- CSS+js实现的一个优秀的超链接鼠标悬停提示
- CSS实现鼠标悬停图片时的边框变色效果
- CSS鼠标悬停菜单 图片交换技术实现
- css实现鼠标移入table时出现滚动条且table内容不移位
- 表格隔行变色_CSS实现鼠标悬停高亮
- 组纯CSS实现的鼠标悬停效果
- CSS或者JS实现鼠标悬停显示另一元素