各种MOUSE形状的表示方法

本文详细介绍了 CSS 中 cursor 属性的使用方法及各种预定义光标样式,包括基本的 auto 和 default,以及复杂的多方向调整大小光标如 nw-resize 和 se-resize。此外还涉及了 IE6 支持的额外样式,如 not-allowed 和自定义光标文件的使用。

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

<a   href="http://"   style="cursor:   auto;">auto</a><br/>    
<a   href="http://"   style="cursor:   crosshair   ">crosshair   </a><br/>    
<a   href="http://"   style="cursor:   default   ">default   </a><br/>    
<a   href="http://"   style="cursor:   hand   ">hand   </a><br/>    
<a   href="http://"   style="cursor:   move   ">move   </a><br/>    
<a   href="http://"   style="cursor:   e-resize   ">e-resize   </a><br/>    
<a   href="http://"   style="cursor:   ne-resize   ">ne-resize   </a><br/>    
<a   href="http://"   style="cursor:   nw-resize">nw-resize</a><br/>    
<a   href="http://"   style="cursor:   n-resize">n-resize</a><br/>    
<a   href="http://"   style="cursor:   se-resize">se-resize</a><br/>    
<a   href="http://"   style="cursor:   sw-resize">sw-resize</a><br/>    
<a   href="http://"   style="cursor:   s-resize">s-resize</a><br/>    
<a   href="http://"   style="cursor:   w-resize">w-resize</a><br/>    
<a   href="http://"   style="cursor:   text">text</a><br/>    
<a   href="http://"   style="cursor:   wait">wait</a><br/>    
<a   href="http://"   style="cursor:   help">help</a><br/>  
IE6支持的<br/>  
<a   href="http://"   style="cursor:   pointer">pointer</a><br/>  
<a   href="http://"   style="cursor:   progress">progress</a><br/>  
<a   href="http://"   style="cursor:   not-allowed">not-allowed</a><br/>  
<a   href="http://"   style="cursor:   no-drop">no-drop</a><br/>  
<a   href="http://"   style="cursor:   vertical-text">vertical-text</a><br/>  
<a   href="http://"   style="cursor:   all-scroll">all-scroll</a><br/>  
<a   href="http://"   style="cursor:col-resize">col-resize</a><br/>  
<a   href="http://"   style="cursor:   row-resize">row-resize</a><br/>  
<a   href="http://"   style="cursor:   url(*.cur)">自定义鼠标指针(请替换成相应的文件):*.cur</a><br/>  
<a   href="http://"   style="cursor:   url(*.ani)">自定义鼠标指针(请替换成相应的文件):*.ani</a><br/>  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值