css中各种鼠标形状

本文详细介绍了CSS中用于设置鼠标悬停效果的手型、十字、问号等常见样式,包括它们在不同浏览器下的表现及用法,帮助开发者快速实现网页交互的个性化定制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CSS鼠标手型效果:
1.  <a href="#" style="cursor:hand"></a>
2.  <a href="#" style="cursor:pointer"></a>
pointer也是手型,可以在多种浏览器下使用。
CSS鼠标十字型效果:
<a href="#" style="cursor:crosshair"></a>
CSS鼠标问号效果:
<a href="#" style="cursor:help"></a>
CSS鼠标移动到文本上的效果:
<a href="#" style="cursor:text"></a>
CSS鼠标等待的效果:
<a href="#" style="cursor:wait"></a>
CSS鼠标默认效果:
<a href="#" style="cursor:default"></a>
CSS鼠标向右箭头效果:
<a href="#" style="cursor:e-resize"></a>
CSS鼠标向右上的箭头效果:
<a href="#" style="cursor:ne-resize"></a>
CSS鼠标向上的箭头效果:
<a href="#" style="cursor:n-resize"></a>
CSS鼠标向左上的箭头效果:
<a href="#" style="cursor:nw-resize"></a>
CSS鼠标向左的箭头效果:
<a href="#" style="cursor:w-resize"></a>
CSS鼠标向左下的箭头效果:
<a href="#" style="cursor:sw-resize"></a>
CSS鼠标向下的箭头效果:
<a href="#" style="cursor:s-resize"></a>
CSS鼠标向右下的箭头效果:
<a href="#" style="cursor:se-resize"></a>
CSS鼠标由系统自动给出效果:
<a href="#" style="cursor:auto"></a>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值